Re: pg_stop_backup does not complete - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: pg_stop_backup does not complete
Date
Msg-id 4B83D74D020000250002F53F@gw.wicourts.gov
Whole thread Raw
In response to Re: pg_stop_backup does not complete  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> wrote:
> The correct resolution is to put in an archive_command that works.
One really should ensure that WAL files (or should I now say data?
;-) are flowing before issuing running the pg_start_backup()
function.  The documentation has always been pretty explicit about
that:
http://www.postgresql.org/docs/8.4/interactive/continuous-archiving.html
| 24.3.2. Making a Base Backup
| 
| The procedure for making a base backup is relatively simple:
| 
| 1. Ensure that WAL archiving is enabled and working.
| 
| 2. Connect to the database as a superuser, and issue the command:
| 
| SELECT pg_start_backup('label');
| ...
As long as the SR documentation is equally explicit on this point,
you'd have to be blatantly going against the instructions to hit
this.
Which makes me think that while pg_fail_backup() might actually be a
good idea, it's not really needed to solve this, so it's 9.1
material at best.
-Kevin


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: pg_stop_backup does not complete
Next
From: David Fetter
Date:
Subject: Re: pg_stop_backup does not complete