PG-587: pg_stat_monitor: Validate the upgrade from 1.x to 2.0 version (#370)

Disallow V1 API to be used with V2.0 lib and remove pg_stat_monitor--1.0.sql
as part of that. A few adjustments to 1.x to 2.0 upgrade script are also
part of the commit
This commit is contained in:
Muhammad Usama
2023-02-01 01:38:02 +05:00
committed by GitHub
parent 62d2ad6d8e
commit 8193e527da
4 changed files with 25 additions and 413 deletions

View File

@@ -4,7 +4,7 @@ MODULE_big = pg_stat_monitor
OBJS = hash_query.o guc.o pg_stat_monitor.o $(WIN32RES)
EXTENSION = pg_stat_monitor
DATA = pg_stat_monitor--1.0.sql pg_stat_monitor--2.0.sql pg_stat_monitor--1.0--2.0.sql
DATA = pg_stat_monitor--2.0.sql pg_stat_monitor--1.0--2.0.sql
PGFILEDESC = "pg_stat_monitor - execution statistics of SQL statements"