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 1hTO9I-0008BF-Kp for pgsql-committers@arkaria.postgresql.org; Wed, 22 May 2019 10:07:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hTO9F-0003qA-3y for pgsql-committers@arkaria.postgresql.org; Wed, 22 May 2019 10:07:01 +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 1hTO9E-0003q3-Q2 for pgsql-committers@lists.postgresql.org; Wed, 22 May 2019 10:07:00 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTO97-0001nn-F5 for pgsql-committers@lists.postgresql.org; Wed, 22 May 2019 10:06:59 +0000 Received: from feivel.credativ.lan ([208.95.28.117]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MGQ85-1hPohE034v-00Gpt4; Wed, 22 May 2019 12:06:45 +0200 Received: from localhost (localhost [127.0.0.1]) by feivel.credativ.lan (Postfix) with ESMTP id A864CE009E; Wed, 22 May 2019 12:06:41 +0200 (CEST) Message-ID: <9195dfa03b9fd943ade91baf651a624f87582838.camel@postgresql.org> Subject: Re: pgsql: Implement PREPARE AS statement for ECPG. From: Michael Meskes To: Michael Paquier Cc: pgsql-committers@lists.postgresql.org Date: Wed, 22 May 2019 12:06:36 +0200 In-Reply-To: <20190522034603.GA1486@paquier.xyz> References: <20190522034603.GA1486@paquier.xyz> Organization: PostgreSQL Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-sxIT1SD5jx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M8H0tTyDbZYO /xNOr6ziHptvKmPZCf+q5nFUm/Wv6KboEoPgoA== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-sxIT1SD5jx3eQiZlFxdX Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > This is a new feature and not a bug fix, hence why has this been > committed to HEAD knowing that the feature freeze of v12 is effective > as of the 8th of April? You should have waited until REL_12_STABLE > has been created for new features. Please see the thread on hackers. Yes, it is a new feature but that part is small, the bigger impact is that this patch fixing a prepare/execute implementation that was completely broken. By adding new features here and there we managed to create an implementation that did work well in some areas but surprisingly (unless you know the source code) failed with minor change to the underlying statement. That's why I committed it despite being late in the cycle. And because it only has an impact on an interface not the backend itself. Of course, if the consensus is to revert the patch until v13 I will accept that. > (The indentation of the new code in ecpglib/prepare.c is broken.) What's wrong? I fixed the original one to stop my gcc from complaining, but maybe I missed a piece. Michael --=20 Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org Jabber: michael at xmpp dot meskes dot org VfL Borussia! For=C3=A7a Bar=C3=A7a! SF 49ers! Use Debian GNU/Linux, Postgr= eSQL --=-sxIT1SD5jx3eQiZlFxdX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEZ/2RWVGI6sRsEOjtNdhXwLvLOyUFAlzlHywACgkQNdhXwLvL OyUiKRAArtXkQuYEQ49T2hJnJFCrwTQ5cwpOP4fUhZ8kvc+/aDnzr947xDJUk/Zk 3NOI5Qs+3irsTwL5C0ndyavt3thdv/Sn8q3fSR/PA2SK5tdd7WJQQDDlZST/tXGx P++qeBVQNrp10Xx2FPiVWfX+LWbTa1jaak6oxeCFZLtVn2tkXqlKTL3aM4X3yb6p WZqpXS0LS7YBHW4q+cMPaBYJDD6BL7mtw0Djkn+U7Pq+297qgYHiDk4emvql8+5P qUebpZ06XHFU8od0+ENGaNLH1BOT49Mfga9d3E6NGeD55UnhcJaq2PQecrhW3xH/ /JsBVs0CER1fDf4XMnD2uXz8lCphE3mGiEaclEgYuAMycAoaUtn2eFyJBWY9DOmd 3fqRSUSBDhHCAjFU7S/3Vbxd7d6DXSiSddqmlPHR4gsxXGojaYruqlK5Yg51FQL0 CpCNKxvPVR9CMhleaxAG9YAbE+RqOGrpZ9VJp9jEhbWdquk74fUl8QiCoyHdcinw QYTnY7AxT+5KVMfe371n5PAmfWp/GX3OzOnIAlfEKE+vy/srLCysirJ1tkkmQ32f JboZjmnrRvX8mpwreqdkN6Y+FE38QQTPGTMiTFckZuZJ0e7uJD35K9Cr5PPVqBYM SAuALFjq+JPU3ghY1hMMxdsMagpvlU4o2KCp6AhSpL2yJOzH2yA= =9dMr -----END PGP SIGNATURE----- --=-sxIT1SD5jx3eQiZlFxdX--