Re: Impatient warm standby - Recovery spam in pg_log/startup.log - Mailing list pgsql-novice

From roman
Subject Re: Impatient warm standby - Recovery spam in pg_log/startup.log
Date
Msg-id 1345772799291-5721039.post@n5.nabble.com
Whole thread Raw
In response to Impatient warm standby - Recovery spam in pg_log/startup.log  (Joseph Marlin <jmarlin@saucontech.com>)
List 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.


pgsql-novice by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: (More) Questions about stored procedures
Next
From: Raymond McKolay
Date:
Subject: Re: Vacuum error message