## Joe Conway ([email protected]): > However there is a period of time after pg_start_backup() is first > executed to when it completes, during which backup_label file does not > exist yet, but the backup has essentially been started. Is there any > way to detect this state?
When I did some research on the very same question just a few weeks ago, I settled for external locks (lockfile, pg_advisory_lock(), ..., depending on your exact situation) around the backup-taking code. Regards, Christoph -- Spare Space -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
