pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
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: Wed, 16 Aug 2017 19:50:39 -0400
Message-ID: <ab46c68a-26a0-988f-2b01-16309ee1c60c@2ndquadrant.com> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 8/14/17 13:57, Andres Freund wrote:
> 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.

committed to 10 and master

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
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)

Message-ID: <ab46c68a-26a0-988f-2b01-16309ee1c60c@2ndquadrant.com>
Permalink:  ../ab46c68a-26a0-988f-2b01-16309ee1c60c@2ndquadrant.com/
Also on:    postgresql.org/message-id/ab46c68a-26a0-988f-2b01-16309ee1c60c@2ndquadrant.com

 · 

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: peter.eisentraut@2ndquadrant.com, andres@anarazel.de, 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: <ab46c68a-26a0-988f-2b01-16309ee1c60c@2ndquadrant.com>
  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> <ab46c68a-26a0-988f-2b01-16309ee1c60c@2ndquadrant.com>

* 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