pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Petr Jelinek <petr.jelinek@2ndquadrant.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Re: [COMMITTERS] pgsql: Don't force-assign transaction id when exporting a snapshot.
Date: Mon, 14 Aug 2017 10:57:40 -0700
Message-ID: <20170814175740.v4ey4fejfpz4i4gk@alap3.anarazel.de> (raw)
In-Reply-To: <21237ba0-2c55-07f8-0e0c-846655f2c565@2ndquadrant.com>
References: <E1dLDTt-0004AC-W5@gemulon.postgresql.org>
	<7aed5039-7bc5-764b-b6d5-114d835f1e9a@2ndquadrant.com>
	<21237ba0-2c55-07f8-0e0c-846655f2c565@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2017-08-14 13:55:29 -0400, Peter Eisentraut wrote:
> On 8/12/17 07:32, Petr Jelinek wrote:
> > This commit has side effect that it makes it possible to export
> > snapshots on the standbys. This makes it possible to do pg_dump -j on
> > standby with consistent snapshot. Here is one line patch (+ doc update)
> > which allows doing that when pg_dumping from PG10+.
> > 
> > I also wonder if it should be mentioned in release notes. If the
> > attached patch would make it into PG10 it would be no brainer to mention
> > it as feature under pg_dump section, but exporting snapshots alone I am
> > not sure about.
> 
> Any other opinions on this patch?

I'd be oh so very slightly inclined to push this, including the modified
pg_dump check. We're going to be on the hook for supporting snapshots on
standbys anyway, unless we put in additional unnecessary error check.

- Andres


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (5+ messages)  latest in thread

Message-ID: <20170814175740.v4ey4fejfpz4i4gk@alap3.anarazel.de>
Permalink:  ../20170814175740.v4ey4fejfpz4i4gk@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20170814175740.v4ey4fejfpz4i4gk@alap3.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, peter.eisentraut@2ndquadrant.com, petr.jelinek@2ndquadrant.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Don't force-assign transaction id when exporting a snapshot.
  In-Reply-To: <20170814175740.v4ey4fejfpz4i4gk@alap3.anarazel.de>
  References: <E1dLDTt-0004AC-W5@gemulon.postgresql.org> <7aed5039-7bc5-764b-b6d5-114d835f1e9a@2ndquadrant.com> <21237ba0-2c55-07f8-0e0c-846655f2c565@2ndquadrant.com> <20170814175740.v4ey4fejfpz4i4gk@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox