From: | stefanu <stefanu123(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Hot standby on Windows |
Date: | 2011-07-09 08:15:30 |
Message-ID: | CA+1Dq4DCSuyawd+2TODF+oRwPy+6zdHdODfZd0URka_nZuV1SA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello all,
I am having a little trouble with a hot standby configuration on Windows,
and I was hoping I could find an answer here.
Everything works fine (both machines run just fine, and the hot standby
works like a charm), except for one problem. The pg_archivecleanup refuses
to run; it seems like I am writing the wrong command, since the %r does not
get replaced.
The log is full of sets of lines like these :
pg_archivecleanup: must specify restartfilename
Try "pg_archivecleanup --help" for more information.
2011-07-09 11:09:28 EEST WARNING: archive_cleanup_command
"pg_archivecleanup.exe "C:\ArchiveDir\" %r >c:\cleanup.log": return code 2
I thought that the command line would be built properly (I mean the %r would
be replaced by the caller), but for some reason it is not happening.
I'm out of ideas to try... what am I doing wrong ?
Thanks in advance for any help.
Stefan.
From | Date | Subject | |
---|---|---|---|
Next Message | pasman pasmański | 2011-07-09 12:26:40 | Re: New feature: cached foreign keys |
Previous Message | Craig Ringer | 2011-07-09 07:42:25 | Re: New feature: cached foreign keys |