Re: [HACKERS] Soften pg_[start|stop]_backup to allow them on a standby?

2014-01-15 Thread Robert Haas
On Tue, Jan 14, 2014 at 7:54 AM, Andres Freund and...@2ndquadrant.com wrote: On 2014-01-14 12:31:09 +0900, Michael Paquier wrote: Currently, pg_start_backup and pg_stop_backup cannot run on a standby because it is not possible to write a backup_label file to disk, because of the nature of a

Re: [HACKERS] Soften pg_[start|stop]_backup to allow them on a standby?

2014-01-15 Thread Andres Freund
On 2014-01-15 11:19:52 -0500, Robert Haas wrote: On Tue, Jan 14, 2014 at 7:54 AM, Andres Freund and...@2ndquadrant.com wrote: On 2014-01-14 12:31:09 +0900, Michael Paquier wrote: Currently, pg_start_backup and pg_stop_backup cannot run on a standby because it is not possible to write a

Re: [HACKERS] Soften pg_[start|stop]_backup to allow them on a standby?

2014-01-14 Thread Andres Freund
Hi, On 2014-01-14 12:31:09 +0900, Michael Paquier wrote: Currently, pg_start_backup and pg_stop_backup cannot run on a standby because it is not possible to write a backup_label file to disk, because of the nature of a standby server preventing to write any data in its PGDATA. Is this thought

[HACKERS] Soften pg_[start|stop]_backup to allow them on a standby?

2014-01-13 Thread Michael Paquier
Hi all, This is perhaps something that has already been discussed on hackers, I just could not find anything in the archives. Currently, pg_start_backup and pg_stop_backup cannot run on a standby because it is not possible to write a backup_label file to disk, because of the nature of a standby