pganalyze / collector

pganalyze statistics collector for gathering PostgreSQL metrics and log data

Home Page:https://pganalyze.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Citus relation stats: don't error out when shard_replication_factor > 1

seanlinsley opened this issue · comments

citus_table_size() errors out if shard_replication_factor > 1 https://docs.citusdata.com/en/v10.2/admin_guide/table_management.html#table-size

To avoid dropping the stats for all tables, we should ignore this error. One way to do that would be to add a function in the pganalyze schema that calls the original Citus function wrapped in a try/catch block.