Re: Impatient warm standby - Recovery spam in pg_log/startup.log

From: roman <roman(dot)rev(at)nootek(dot)ru>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Impatient warm standby - Recovery spam in pg_log/startup.log
Date: 2012-08-24 01:46:39
Message-ID: 1345772799291-5721039.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

That's how I fixed it, by editing the restore_command parameter in
recovery.conf:

restore_command='test -f /var/pgsql/primary-wal-archive/%f && cp
/var/pgsql/primary-wal-archive/%f %p'

Basically, it's testing for the existence of the file before trying to copy
it.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Impatient-warm-standby-Recovery-spam-in-pg-log-startup-log-tp5713094p5721039.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Raymond McKolay 2012-08-24 12:34:50 Re: Vacuum error message
Previous Message Merlin Moncure 2012-08-23 21:13:28 Re: (More) Questions about stored procedures