File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,9 @@ def disable_and_exit_if_not_pgpro_ee(self, db=None):
4949
5050 def disable_and_exit_if_archive_mode_is_not_on (self , db = None ):
5151 param = Pooler .get_sys_param ('archive_mode' , db = db )
52- if param != 'on' :
52+ if param != 'on' and param != 'always' :
5353 self .disable ()
5454 raise PluginDisableException ("""Disable plugin and exit, because '{0}' \
55- parameter is not 'ON'. Enable it "{1}" in PostgreSQL instance, \
56- if needed and restart.""" .format ('archive_mode' , 'alter system set archive_mode = on;' ))
55+ parameter is neither 'on' nor 'always'. Enable it "{1}" or "{2}" in PostgreSQL instance, \
56+ if needed and restart.""" .format ('archive_mode' , 'alter system set archive_mode = on;' ,
57+ 'alter system set archive_mode = always;' ))
You can’t perform that action at this time.
0 commit comments