downgrade queries

pull/6763/head
Halil Ozan Akgul 2023-03-09 11:02:28 +03:00
parent b41e848aa6
commit 2bf52adb35
2 changed files with 12 additions and 2 deletions

View File

@ -1,2 +1,8 @@
-- citus--11.3-1--11.2-1 -- citus--11.3-1--11.2-1
-- this is an empty downgrade path since citus--11.2-1--11.3-1.sql is empty for now -- this is an empty downgrade path since citus--11.2-1--11.3-1.sql is empty for now
DROP VIEW pg_catalog.citus_stats_tenants;
DROP VIEW pg_catalog.citus_stats_tenants_storage;
DROP FUNCTION pg_catalog.citus_stats_tenants(boolean);
DROP FUNCTION pg_catalog.citus_stats_tenants_storage;

View File

@ -1323,9 +1323,13 @@ SELECT * FROM multi_extension.print_extension_changes();
-- Snapshot of state at 11.3-1 -- Snapshot of state at 11.3-1
ALTER EXTENSION citus UPDATE TO '11.3-1'; ALTER EXTENSION citus UPDATE TO '11.3-1';
SELECT * FROM multi_extension.print_extension_changes(); SELECT * FROM multi_extension.print_extension_changes();
previous_object | current_object previous_object | current_object
--------------------------------------------------------------------- ---------------------------------------------------------------------
(0 rows) | function citus_stats_tenants(boolean) SETOF record
| function citus_stats_tenants_storage() SETOF record
| view citus_stats_tenants
| view citus_stats_tenants_storage
(4 rows)
DROP TABLE multi_extension.prev_objects, multi_extension.extension_diff; DROP TABLE multi_extension.prev_objects, multi_extension.extension_diff;
-- show running version -- show running version