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 1iB8Op-0002h9-WC for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Sep 2019 02:11:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iB8Oo-0004rP-6u for pgsql-bugs@arkaria.postgresql.org; Fri, 20 Sep 2019 02:11:54 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iB8On-0004r2-SU for pgsql-bugs@lists.postgresql.org; Fri, 20 Sep 2019 02:11:54 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iB8Oh-0004GG-EE for pgsql-bugs@lists.postgresql.org; Fri, 20 Sep 2019 02:11:52 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 016D2479; Thu, 19 Sep 2019 22:11:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 19 Sep 2019 22:11:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=0EPRkq2yyx36sae252XtzQaF4Ks 0oOpgqjT8oiWMuuk=; b=Z+zdd5wM9HJDYnp0kIb0MrFkOGDW8+Ssn5HIe/Yma+l pBXX6HTOqottXj+34fCOAx9DRwvzhLloCczzHIf7tFTQARn0E8B3a5M9UUdYRxtC lOU3FzV/J/eewvXloW2tHusv4mVQecDm3Elec9gcMUaq9Uzo/XEK5DEurG6wmV8Z T51w+ALZc4LS23C5mFj5x57F+t8hjDK2bhks8ZyHqsfvlkGMP+gDVKmxQNk7T0lU p/b4RtUeajEdcfy0Hjs0xYqcySE2dp3wpdQUFJFbQrf3kgRyPC+XyNqnMES+kPMa x/oejZpAfUnih6t3vwsOyhZmwTWw60PV+aUy3X6GGgA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm3; bh=0EPRkq 2yyx36sae252XtzQaF4Ks0oOpgqjT8oiWMuuk=; b=MDeMbcUrCPpiWjDeLBz4s+ yyrsP4AsXibmH9s5w8N3LL73leJl6ySXj6D2+wuvzYvY0fcUHCjBfZ6t9s+d7qKp 8ckFrXSBHbB5F0taG6TchY7DK6K5gt/jUqL1XU6bi3kNJ8KEtfKY3Bw61xR5M+I+ mMwF3UKXgAGGEN4IfYhjaRogWeFiVFCarkfvSzOkBxDjSRyrz1dlqAgTSHnQGGXB 2J0FtAzxUIJTEZtq1/jiNeUhxI4eVZv/c7uVSnT8BiR5xj6aJVJl3Pm23lN5Heq1 hdywInDb+ugYnTf3wLclFWmUkyIsUsvTURTvVUhCUMle6MHGTs9F1KXqHApt42ug == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddugdehhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtddmnecujfgurhepfffhvf fukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhi vghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecukfhppeduuddurddutd dvrddukedtrddukeehnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehp rghquhhivghrrdighiiinecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id AA83480062; Thu, 19 Sep 2019 22:11:43 -0400 (EDT) Date: Fri, 20 Sep 2019 11:11:40 +0900 From: Michael Paquier To: zhq651@126.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16014: how to modify column ev_action of pg_rewrite Message-ID: <20190920021140.GH1844@paquier.xyz> References: <16014-d03ad99f7a1cafd2@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="a7XSrSxqzVsaECgU" Content-Disposition: inline In-Reply-To: <16014-d03ad99f7a1cafd2@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --a7XSrSxqzVsaECgU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 20, 2019 at 01:43:46AM +0000, PG Bug reporting form wrote: > we merge the patch "merge into" into my project, but you can see , CMD_ME= RGE > is not added in the end. > It leads to restore old version postgres data to new version postgres=E3= =80=82 > because CMD_UTILITY value has been changed from 5 to 6, CMD_NOTHING has > been changed from 6 to 7. >=20 > so we want to modify pg_rewrite column :ev_action to resolve this problem. > Thanks very very much. =20 MERGE has been developped during the development of Postgres 11, and then reverted, hence zero versions of PostgreSQL released include it. I am afraid you are on your own for this custom patch, which requires you to patch postgres anyway in your case, no? -- Michael --a7XSrSxqzVsaECgU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl2ENVwACgkQnvQgOdby QH1Nyw/9GjL2ZM2lVTA4MUL6bBHXchy1gi3mZYv1b5q0rjz328aRT1lStgY6a9km 6qVkWNc4G7QaXva3PzBXb1oUeCpxFvLKkEDd1xvdjjaXBe1bI0sQ5aMZzAni0NtS Qepr9cP3N3CxIbdp7UCEWBQW9Z3Q0mr9dC4xkthglcl3i2ITX4YYFEyCoG2qkdK7 oV1JbB0e9fb1QsbelXobm99Zcyk+RVr5yMSVYKLZUEnECdBMgxWFEY1V33O+j/rW ABcJExUIK7czrc5ribeyZ0E4bHNKTrfg0ljkXuG8Gac+VoiQM27hzflrPzcyrb1I ucPsM3WVy2Cdknkzv3x3aEGA9d6rGCV0x/iTAybmP1dLRR531OCW6UhrtqJqAmym K48qlKS3nkivKHvBFijIdEoaJjkhQld5JWWcPHmAZRiFUH3q+KWyFzyYMKy97J8G PQy/TrCwgxOxsz6nRREh95rmPznpbau0dJJiyCd+DtqQoMt27uvHY/ghHv9kWNMb m8D9B7dbBYjYJKSrik0MeFMZZVtK0TIG69yfXAlVRXFibex/w4LXGU4XGCsGXcOO BwztLdeTUMevmoVpcfOKYquyA6FVzte4cjnLxt6Y6oL0YIJij0RcRCiFn7E8QHYD nP+aIT3tn/UM/5AJ9ExULG7aH4AloZ06ZS5KVqy4eV/JSheLIgI= =sAx+ -----END PGP SIGNATURE----- --a7XSrSxqzVsaECgU--