(self)
return None
Return value for specified parameter
Return value for specified parameter
Return value for specified parameter
def synchronous_standby_names(self):
        """Return value for specified parameter"""
        # see if explicitly set
        m = re.search("^\s*synchronous_standby_names\s*=\s*'([^']*)'\s*#?.*$", self.cf_buf, re.M | re.I)
        if m:
            return m.group(1)
        # also, it could be commented out as initdb leaves it
        # it'd probably be best to check from the database ...
        m = re.search("^#synchronous_standby_names\s*=.*$", self.cf_buf, re.M | re.I)
        if m:
            return ''
        return None
def synchronous_standby_names ( self ) : # see if explicitly set m = re . search ( "^\s*synchronous_standby_names\s*=\s*'([^']*)'\s*#?.*$" , self . cf_buf , re . M | re . I ) if m : return m . group ( 1 ) # also, it could be commented out as initdb leaves it # it'd probably be best to check from the database ... m = re . search ( "^#synchronous_standby_names\s*=.*$" , self . cf_buf , re . M | re . I ) if m : return '' return None