Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gayXN-0005og-Oc for pgsql-bugs@arkaria.postgresql.org; Sun, 23 Dec 2018 07:51:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gayXM-0001iz-Gq for pgsql-bugs@arkaria.postgresql.org; Sun, 23 Dec 2018 07:51:00 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gayXL-0001iq-3q for pgsql-bugs@lists.postgresql.org; Sun, 23 Dec 2018 07:51:00 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gayXG-00048l-OE for pgsql-bugs@lists.postgresql.org; Sun, 23 Dec 2018 07:50:58 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4F74921AA2; Sun, 23 Dec 2018 02:50:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 23 Dec 2018 02:50:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=IrYLiHUY7jRXrg14Jxg7URYUnfu pu1KLwZuVTWu0xHs=; b=K5SPEu2NB3BSDmLgw6o+pyEa9SjZkrCJNtBiTrtJNcw HJUTrOHuhslF0EPXSXzvB9MZBGIwCx8J9C6k94EcLbBmTqUwXQe0jyIEeUllBe0h ieKXHIEHhwFKj3n9++P71L0HcAvgXH8L2zo9774WGWgimuROCKXxn0EPlOsQzD6d 94le/OrzWgmRMyj9X05q5NF9smApnrKUzOQxh/6UgfKD/n+VvFMTkL6Pn971DUx7 i81UfcwFiyGihEl2skh/iK2qYvg+4S5u277/h6XNF8LdTMc5V8yKMdtcoqXgITLM 6huh9S/xVyYKuGCx6FvdCXl7wrvcOaBUjgTdmTNwlxw== 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-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=IrYLiH UY7jRXrg14Jxg7URYUnfupu1KLwZuVTWu0xHs=; b=Dc96jiiMKxa3szXoSfCqea hT3uwGzoIZ/9BVw0Gzc3BybwubOJEf/1gvRmqK2YmFmmJozoi+j8NrzxGqel1zum +7J28mQRBrt05cQeq96LlSOxbnRfelNC+kAaSk5Xyu42k+2I0WLEgewSmSG/9Ye6 a8aBksiVHlgzvdWog7KJtZ1Q1j0QA4lOeIhBhHW1TfGk7kkoXI3zYDpC5UtwyD+d 0/CRVZZ4oQOl/cRULz+O+lnZQWt7hufphfUgHBgX6OFssyCYJ55Gxtiela4GK0a6 GirmrlaDT/unJ+ytqs0C0L4HVOREKpA3Na8z3yB8hi3QYV/tBiL9tmqHUKOzlDUg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudejkedgheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhhtnecuuegrihhlohhuthemucef tddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdejtd dmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgt hhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqne cukfhppeeiuddrvdduhedrudefjedrudeivdenucfrrghrrghmpehmrghilhhfrhhomhep mhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id D2BD610107; Sun, 23 Dec 2018 02:50:49 -0500 (EST) Date: Sun, 23 Dec 2018 16:50:45 +0900 From: Michael Paquier To: Etsuro Fujita Cc: Amit Langote , Luis Carril , "pgsql-bugs@lists.postgresql.org" , PG Bug reporting form , Michael Paquier Subject: Re: BUG #15552: Unexpected error in COPY to a foreign table in a transaction Message-ID: <20181223075045.GC1726@paquier.xyz> References: <20181219023814.GA6577@paquier.xyz> <6daa6d4a-d4a9-bd2c-0b84-c4e31d2b9844@lab.ntt.co.jp> <5C19F7FF.9060904@lab.ntt.co.jp> <20181219083422.GA680@paquier.xyz> <5C1A0B6C.1040502@lab.ntt.co.jp> <20181220003140.GE27104@paquier.xyz> <5C1C62C5.8040409@lab.ntt.co.jp> <20181221040724.GF1886@paquier.xyz> <5C1C75B2.9000008@lab.ntt.co.jp> <20181221075123.GA6876@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZwgA9U+XZDXt4+m+" Content-Disposition: inline In-Reply-To: <20181221075123.GA6876@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --ZwgA9U+XZDXt4+m+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Dec 21, 2018 at 04:51:23PM +0900, Michael Paquier wrote: > The conflicts would be a bit annoying yes, still those are minimal so > I would still use the macro on HEAD. Let's see if others have an > opinion. We will have a divergence between v10 and v11 anyway as v11 > has added support for COPY with foreign tables, and v10 has added > support for COPY with views. Finally done and committed down to v10 as adapted. -- Michael --ZwgA9U+XZDXt4+m+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlwfPlUACgkQnvQgOdby QH1Ieg/9FOYZVbAhLvYPcsOe0Qy5Hp7goT6BTpoNKvToW77ZX04hyU68Pi+JCkKV mX2qiNS7deQU6nXmSCPVBo+b5yXPQfAg4hkJM511BwpSfrU4uz+P1GmX42C1aVCd G3Zi8fjSjeTwJ1VgYSHai38jrTbTs4zkCzNXc2txgzTIUqiggUu4gN1PRDyrHjGW WNyyWcm1oGaW7bYRKROSVzo9JvocEdSqEHviuRmB8fzhv9TH6/y/rLU24Y4ILsJ8 9c5MPvGigLKHTGtASjc3CHMn9/haOcJQvLN0KDV5YnS/yGSAFWZwV74ubEGT/0s/ 661DOOz5CCcTeyD93aSWYVHuCFkILKfgZ0WUzs0FQSZjbpUr9UmyEbsxBGTQKsCL WwR86vagYl7DEfEEN/RePbf5ofyCbpdaYQgV3u5FdZal40tOT8OXlFqL83Uy68yD IDN6VHhr8qGV5yxuE8AnOTl5ioNesVODvHTjPHsvAL3SjIfy/iq0+IUCV3d+1zsx ZF530mxX5ZFo3ZJ88DdjYhrdRmWHkHEtumBNqWnu6nVCTy92ILYVShsZsfZ2gUKm E0XG/pqsHeYXqEBIWjBWWQa5Ij2ZPgDBfCK1vmSUOtY8Y1TKyCodMJ9DUSDFm+Mp Dc9yaLfp1FuE2XFLjWDFYW+KVo6FOxR7nRYVq6fR+dvUhLewlro= =Oxn8 -----END PGP SIGNATURE----- --ZwgA9U+XZDXt4+m+--