Thread: [GENERAL] syntax error

[GENERAL] syntax error

From
Noor Mulla
Date:

 

Hi,

 

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

Re: [GENERAL] syntax error

From
nmmulla
Date:
I have figured it out. Thanks for thinking



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


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