pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: nmmulla <noor.mulla@teranet.ca>
To: pgsql-committers@postgresql.org
Subject: sytax errors in standby commands
Date: Thu, 2 Nov 2017 09:59:50 -0700 (MST)
Message-ID: <1509641990685-0.post@n3.nabble.com> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>


I am setting up PostgreSQL standby on windows for the first time on version
9.4.14: 

Is the below syntax correct in the recovery.conf file

restore_command = 'copy "D:\\apps\postgres\\pg_archivelog\\%f" "%p"'

archive_cleanup_command = 'pg_archivecleanup
"D:\\apps\postgres\pg_archivelog\\" %r'


And below command is correct in syntax in portgresql.conf file

archive_command = 'copy "%p" "D:\\apps\\postgres\\pg_archivelog\\%f"'


I am archiving to local server



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-committers-f2094136.html


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



Message-ID: <1509641990685-0.post@n3.nabble.com>
Permalink:  ../1509641990685-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1509641990685-0.post@n3.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: noor.mulla@teranet.ca
  Subject: Re: sytax errors in standby commands
  In-Reply-To: <1509641990685-0.post@n3.nabble.com>
  References: <1509641990685-0.post@n3.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox