Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhJe8-0005RH-BS for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Aug 2017 17:59:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dhJe7-0007XS-Hz for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Aug 2017 17:59:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhJca-0004mK-TG for pgsql-hackers@postgresql.org; Mon, 14 Aug 2017 17:57:49 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dhJcU-00021x-Be for pgsql-hackers@postgresql.org; Mon, 14 Aug 2017 17:57:47 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A3D4520C1F; Mon, 14 Aug 2017 13:57:41 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 14 Aug 2017 13:57:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=hLMkya2QIdvAkdG7Rw fxh7sPh2HEgeb6U9kixXc0m/4=; b=XYF2rLo5WvUOzFeUVKZAZHL6slz/7J2LP4 XvOGMlHJSIKgnWH2hs8b/fTeqiv+w0GLdknxn44nTINsChB/M8Glp1qjKEATS8Wa H7ITZC0U34V1B/Z39EPSqNlp9ypolSBJtPFEA/eTZ8rpFvt+/zMKzgVpXgBWA1O0 VxkujtagjGOi6mELUbx9y7KSBZV4u6NOUHlrQOwO1XUsArLh/MXlhucuJFu3LmOS 5O5p7rl3rfh0C3wZ2+V8CD8c5V367ryZguARRcv9g2cjjtZ+SVZi/koO2kmVVazI SMpPRotHEqao5rd4K8nE3uD8KnPXEMwKdFK15fwSmzKcoNVvNcfg== X-ME-Sender: X-Sasl-enc: I4rn6f+eulJL7h/juwW9wpeAbYitRUBaevV1xqqYY7K+ 1502733461 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id 5CFDC7E881; Mon, 14 Aug 2017 13:57:41 -0400 (EDT) Date: Mon, 14 Aug 2017 10:57:40 -0700 From: Andres Freund To: Peter Eisentraut Cc: Petr Jelinek , PostgreSQL-development Subject: Re: Re: [COMMITTERS] pgsql: Don't force-assign transaction id when exporting a snapshot. Message-ID: <20170814175740.v4ey4fejfpz4i4gk@alap3.anarazel.de> References: <7aed5039-7bc5-764b-b6d5-114d835f1e9a@2ndquadrant.com> <21237ba0-2c55-07f8-0e0c-846655f2c565@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21237ba0-2c55-07f8-0e0c-846655f2c565@2ndquadrant.com> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org 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