We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5726759 + 7267f9d commit 7da09c0Copy full SHA for 7da09c0
1 file changed
major_upgrade/pg_upgrade.py
@@ -88,9 +88,9 @@ def drop_possibly_incompatible_objects(self):
88
conn_kwargs['dbname'] = d
89
with get_connection_cursor(**conn_kwargs) as cur:
90
91
- cmd = "REVOKE EXECUTE ON FUNCTION pg_catalog.pg_switch_{0}() FROM admin".format(self.wal_name)
92
- logger.info('Executing "%s" in the database="%s"', cmd, d)
93
- cur.execute(cmd)
+ # cmd = "REVOKE EXECUTE ON FUNCTION pg_catalog.pg_switch_{0}() FROM admin".format(self.wal_name)
+ # logger.info('Executing "%s" in the database="%s"', cmd, d)
+ # cur.execute(cmd)
94
95
logger.info('Executing "DROP FUNCTION metric_helpers.pg_stat_statements" in the database="%s"', d)
96
cur.execute("DROP FUNCTION IF EXISTS metric_helpers.pg_stat_statements(boolean) CASCADE")
0 commit comments