Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eoGPm-0003TA-Ad for pgsql-admin@arkaria.postgresql.org; Tue, 20 Feb 2018 22:29:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoGPl-0004r9-As for pgsql-admin@arkaria.postgresql.org; Tue, 20 Feb 2018 22:29:33 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eoGPk-0004r0-F6 for pgsql-admin@lists.postgresql.org; Tue, 20 Feb 2018 22:29:33 +0000 Received: from a2nlsmtp01-01.prod.iad2.secureserver.net ([198.71.224.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eoGPh-0000Ij-0Y for pgsql-admin@lists.postgresql.org; Tue, 20 Feb 2018 22:29:31 +0000 Received: from a2plcpnl0131.prod.iad2.secureserver.net ([198.71.226.50]) by : HOSTING RELAY : with SMTP id oFv0enSANnh2XoFv0eHdTw; Tue, 20 Feb 2018 14:57:46 -0700 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=telium.ca; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:Subject:In-Reply-To:References:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=cHOorPXU2s7DpQ+CXE6m3LwQ+hRxTfH2E7i31Puns+0=; b=hJyP/pKlO00ZldLqIs+tHMyAsc UMX+4lPWDo+VC/n6wn3U3rEZe0j7aa6WaYB8WJu0/GB9e1Dgu6YgZb0BAISktIXls8zhRhFsixZpA KP0e09DRWA/pXLt5gAXZZ7dnRwcY69P0cJ0iXsMX1Pp2R+npEcKf1R9snDoBzYGRTZBAwRNSCTDnH q6poHhKig0Cn9nS0FIG31QpiBuEu9Ti60B5/whYsddZmzFGOCGN+OaBWMlyLyRv4yHX5n1pSXFPmW Ms7iZp8IujPvOVFnXhkwZlHwmcE4SjXLkY5QvxWbY0hcJf7ejDvpv7xKlb4lquN9n9KalIPxgeDYt 0bQt+PyQ==; Received: from [173.239.164.42] (port=57775 helo=vmltms) by a2plcpnl0131.prod.iad2.secureserver.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eoFv0-000E4m-2F for pgsql-admin@lists.postgresql.org; Tue, 20 Feb 2018 14:57:46 -0700 From: "Telium Technical Support" To: References: <000301d3aa8b$a70c17c0$f5244740$@telium.ca> <0f2b60dc-b095-d04c-c242-b79fdcacd32b@2ndquadrant.com> In-Reply-To: <0f2b60dc-b095-d04c-c242-b79fdcacd32b@2ndquadrant.com> Subject: RE: PostgreSQL recovery file syntax, ver 8.4 vs ver 9.5 Date: Tue, 20 Feb 2018 16:57:32 -0500 Organization: Telium Message-ID: <002001d3aa95$d25940b0$770bc210$@telium.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQKqgp6QkSRzuyEE8uZR+KE3gBHW7gIg0Fy4oe8fmfA= Content-Language: en-us X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2plcpnl0131.prod.iad2.secureserver.net X-AntiAbuse: Original Domain - lists.postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - telium.ca X-Get-Message-Sender-Via: a2plcpnl0131.prod.iad2.secureserver.net: authenticated_id: support@telium.ca X-Authenticated-Sender: a2plcpnl0131.prod.iad2.secureserver.net: support@telium.ca X-Source: X-Source-Args: X-Source-Dir: X-CMAE-Envelope: MS4wfIZWJGOo2whV/eIQezHIRORnvxGxIPmUzknj+AwaBjq70nkWm//XMGb1els7bwSACBmNogrD2QgqzBDq/qoSP7VdLlpPOS0RmzU+cJ0CxS3EI67URBpR aRa/KXxfKHM/dsfPmXUCE2e3a4x3BtrXbCnm02HBibKAHljQYnK/LpPUyVar48DfzMcGk9M4UY33u4oYQ9zsKZCSJhDuDzasDGauT/49bY/UEHfjry1blmLP List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I actually need the log shipping so I can decide whether or not I want = the standby to accept data from the master (In case of master corruption). = I have clients on ver 8.4 and 9.5 so I'm trying to figure out if I can = share config settings between clients. -----Original Message----- From: Peter Eisentraut [mailto:peter.eisentraut@2ndquadrant.com]=20 Sent: Tuesday, February 20, 2018 4:44 PM To: Telium Technical Support ; pgsql-admin@lists.postgresql.org Subject: Re: PostgreSQL recovery file syntax, ver 8.4 vs ver 9.5 On 2/20/18 15:44, Telium Technical Support wrote: > In postgreSQL version 8.4 it seems that you can place the db server=20 > into warm standby mode with the following setting in recovery.conf >=20 > =A0 =A0=A0restore_command =3D 'pg_standby archiveDir %f %p %r' >=20 > In postgreSQL version 9.5 I see the same option, but I also see what=20 > appears to be an alternative syntax in recovery.conf: >=20 > =A0=A0 standby_mode =3D (boolean) > =A0 =A0trigger_file =3D (string) >=20 > So is this new syntax an alternative to the old syntax (both are=20 > accepted by PGSQL)? Any benefit to the new syntax? >=20 > Does the new syntax mean that I can use the restore_command setting as = > well (to use my own copy command)? A lot has changed between 8.4 and 9.5. Hot standby, streaming = replication, replication slots, and so on. You can continue to use pg_standby, but = the new facilities are better in many ways. --=20 Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services