(self, cf_file)
Disable archiving for the slave. This is done by setting
        archive_command to a trivial command, so that archiving can be
        re-enabled without restarting postgres. Needed when slave is
        booted with postgresql.conf from master.
Disable archiving for the slave. This is done by setting
        archive_command to a trivial command, so that archiving can be
        re-enabled without restarting postgres. Needed when slave is
        booted with postgresql.conf from master.
Disable archiving for the slave . This is done by setting archive_command to a trivial command so that archiving can be re - enabled without restarting postgres . Needed when slave is booted with postgresql . conf from master .
def slave_deconfigure_archiving(self, cf_file):
        """Disable archiving for the slave. This is done by setting
        archive_command to a trivial command, so that archiving can be
        re-enabled without restarting postgres. Needed when slave is
        booted with postgresql.conf from master."""

        self.log.debug("Disable archiving in %s", cf_file)

        cf = PostgresConfiguration(self, cf_file)
        cf_params = { "archive_command": "/bin/true" }

        self.log.debug("modifying configuration: %s", cf_params)
        cf.modify(cf_params)
        cf.write()
def slave_deconfigure_archiving ( self , cf_file ) : self . log . debug ( "Disable archiving in %s" , cf_file ) cf = PostgresConfiguration ( self , cf_file ) cf_params = { "archive_command" : "/bin/true" } self . log . debug ( "modifying configuration: %s" , cf_params ) cf . modify ( cf_params ) cf . write ( )