File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111
1212class _PostgresqlUpgrade (Postgresql ):
1313
14- _INCOMPATIBLE_EXTENSIONS = ('pgaudit ' ,)
15-
14+ _INCOMPATIBLE_EXTENSIONS = ('pg_repack ' ,)
15+
1616 def adjust_shared_preload_libraries (self , version ):
1717 from spilo_commons import adjust_extensions
1818
@@ -93,7 +93,7 @@ def drop_possibly_incompatible_objects(self):
9393 # cur.execute(cmd)
9494
9595 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" )
96+ function call dur cur .execute ("DROP FUNCTION IF EXISTS metric_helpers.pg_stat_statements(boolean) CASCADE" )
9797
9898 for ext in ('pg_stat_kcache' , 'pg_stat_statements' ) + self ._INCOMPATIBLE_EXTENSIONS :
9999 logger .info ('Executing "DROP EXTENSION IF EXISTS %s" in the database="%s"' , ext , d )
Original file line number Diff line number Diff line change @@ -1083,8 +1083,8 @@ def main():
10831083 config = deep_update (user_config_copy , config )
10841084
10851085 if provider == PROVIDER_LOCAL and not any (1 for key in config .keys () if key in PATRONI_DCS ):
1086- link_runit_service (placeholders , 'etcd ' )
1087- config ['etcd ' ] = {'host' : '127.0.0.1:2379' }
1086+ link_runit_service (placeholders , 'etcd3 ' )
1087+ config ['etcd3 ' ] = {'host' : '127.0.0.1:2379' }
10881088
10891089 pgdata = config ['postgresql' ]['data_dir' ]
10901090 version_file = os .path .join (pgdata , 'PG_VERSION' )
You can’t perform that action at this time.
0 commit comments