Re: PATCH: Make pg_stop_backup() archive wait optional

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: David Steele <david(at)pgmasters(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: Make pg_stop_backup() archive wait optional
Date: 2017-03-01 22:11:49
Message-ID: bc0bf94b-5975-4879-9e75-2a57688348c5@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2/27/17 6:25 PM, David Steele wrote:
> The purpose of this patch is to make waiting for archive optional, with
> the default being the current behavior, i.e., to wait for all WAL to be
> archived. This functionality is already used internally by
> pg_basebackup, so the only real change is to expose it through the
> pg_stop_backup() function.

Do the docs mention anywhere how to monitor WAL archiving to know if
you've got all the necessary WAL? Perhaps a function to do that would be
worth adding.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Nasby 2017-03-01 22:15:09 Re: GSoC 2017
Previous Message Jim Nasby 2017-03-01 22:02:00 Re: Disallowing multiple queries per PQexec()