· 4 years ago · Sep 07, 2021, 06:54 AM
12021-09-07 09:46:15.457 +03 [17659] pgwatch2@pgwatch2_metrics ERROR: cannot create index on partitioned table "configured_dbs"
22021-09-07 09:46:15.457 +03 [17659] pgwatch2@pgwatch2_metrics CONTEXT: SQL statement "CREATE TABLE IF NOT EXISTS public.configured_dbs (LIKE admin.metrics_template INCLUDING INDEXES) PARTITION BY RANGE (time)"
3 PL/pgSQL function admin.ensure_partition_metric_time(text,timestamp with time zone,integer) line 29 at EXECUTE
42021-09-07 09:46:15.457 +03 [17659] pgwatch2@pgwatch2_metrics STATEMENT:
5 select * from admin.ensure_partition_metric_time($1, $2)