Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1di86m-000220-EZ for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Aug 2017 23:52:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1di86m-0006cc-1F for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Aug 2017 23:52:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1di85F-0003vv-8n for pgsql-hackers@postgresql.org; Wed, 16 Aug 2017 23:50:45 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1di85B-0002OO-TR for pgsql-hackers@postgresql.org; Wed, 16 Aug 2017 23:50:44 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 712792166F; Wed, 16 Aug 2017 19:50:40 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Wed, 16 Aug 2017 19:50:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=iA9kz8C4hQN09wJpblQHWC+1IbodhadA2tM31QDkAgA=; b=e7RxhwL1 T+Diq8BRQ/M0Xkx5+ztjMI1hYMCndQ2HYYSHPpnv+nKmTPGbHAYrmcYs1cbrgjG4 e7RkyK4e/c3AvZQ3zx6OUWtuD2yPrBSnBRhJMOeq7GMwyQ5jrAGx7U0/P8FCu/P6 XKPFBucLl5XHVwVievw/FLHly8Uoyj1w+PqZEhX/h/RMuc8/QeR5Wxd8NQeaSkuq gVtjMuBqsUwLkTYW2sS7SDueNPTzN4c/WscUolrmXHBU8wgdR9QHwRMBddVq0VFF UOUozENPznVj2cUD9cge4Z077YUzPf/GUSFdBSa5ldK7RvRjj0Abfe2bXEgEhkxP p1mnfRE3Fzx1fQ== X-ME-Sender: X-Sasl-enc: kwYNSebEYQNb+PHVkqefdOM8SbkjiuywJ28C8QRIIRnW 1502927440 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 3AA80240AF; Wed, 16 Aug 2017 19:50:40 -0400 (EDT) Subject: Re: Re: [COMMITTERS] pgsql: Don't force-assign transaction id when exporting a snapshot. To: Andres Freund References: <7aed5039-7bc5-764b-b6d5-114d835f1e9a@2ndquadrant.com> <21237ba0-2c55-07f8-0e0c-846655f2c565@2ndquadrant.com> <20170814175740.v4ey4fejfpz4i4gk@alap3.anarazel.de> Cc: Petr Jelinek , PostgreSQL-development From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Wed, 16 Aug 2017 19:50:39 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170814175740.v4ey4fejfpz4i4gk@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 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