Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YcbBF-0006LU-Qo for pgsql-bugs@arkaria.postgresql.org; Mon, 30 Mar 2015 15:00:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YcbBF-0002xN-5Z for pgsql-bugs@arkaria.postgresql.org; Mon, 30 Mar 2015 15:00:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YcbBD-0002xG-Ro for pgsql-bugs@postgresql.org; Mon, 30 Mar 2015 15:00:44 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YcbB9-0007Ww-QJ for pgsql-bugs@postgresql.org; Mon, 30 Mar 2015 15:00:41 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id E879B5F7AE; Mon, 30 Mar 2015 11:00:37 -0400 (EDT) Date: Mon, 30 Mar 2015 11:00:37 -0400 From: Stephen Frost To: Tom Lane Cc: Jon Jensen , Jeff Davis , pgsql-bugs@postgresql.org Subject: Re: pg_get_constraintdef() doesn't always give an equal constraint Message-ID: <20150330150037.GY3663@tamriel.snowman.net> References: <19820.1427153553@sss.pgh.pa.us> <14802.1427571147@sss.pgh.pa.us> <25770.1427654441@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9Dz7ZkHOyZKsJidB" Content-Disposition: inline In-Reply-To: <25770.1427654441@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-46-generic (x86_64) X-Uptime: 10:59:38 up 10 days, 20:48, 4 users, load average: 0.02, 0.07, 0.12 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --9Dz7ZkHOyZKsJidB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Jon Jensen writes: > > Well, as part of the standard regression test suite it's comparing stor= ed=20 > > expected output with newly-generated output, like all the other tests. = I=20 > > must be misunderstanding what you mean because nothing manual about tha= t,=20 > > is there? >=20 > My point is that the expected output has to be manually checked initially > to see if it's right or not; and since it often doesn't look exactly like > the original SQL, that checking is painful and not foolproof. >=20 > It's interesting to consider something like the COPY_PARSE_PLAN_TREES > #define, which inserts code into the backend to see whether copyfuncs.c > and equalfuncs.c are sane or not. Running the regression tests with > that turned on provides pretty thorough coverage of those modules. Do we have any buildfarm members which are running with that? If not, would anyone object to doing so? Thanks, Stephen --9Dz7ZkHOyZKsJidB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVGWUVAAoJEO1sijiDR2RVwrQP/3DNdhPu8AmWmFfswOY+O13e rgDBmityJ+pEPsMdWC3oG9Eecy/JorAiGZBiSQ7Sc51sEcuyN8aAsdhAyZJo3RR0 t6nN/EVHe74eV8mv9IUPCZP7AB2hroj9T5jCbp4foGt51doMq4k8dXPYfY4MyJQ3 VCQ8OualVf2G/mocXo+d3ZFQ/KfFwQNm2KV4LEk10YdeukRD6dDyTtfaIdq23T5k qayC9ttizgnls67HMUXUkh8L/IDPiqi/bAS1wQvAHgpEYE0cD4dSgPPbncIwitH6 piSB162UgZ4/uhlXOBkhenk7PW7Ny6Gh7Kw4FemRFP60C5CTwbfRwgfRqrUWRwcx DNOj46/9Hd/gdvwjV0k2Aq/29nctSQStaB1WSMPYyna5qFgs4YU5Nvaxpb3UHmTE NR6PoA8oIfRkk7LHjY+BZLkGlGefVn2SqA1nymTwrKVzk4dhQIUoS07fU2sIfjwp b/YOS+B8xSwds9CnDtP1I12umY/JGMBdYOf3CswokZN3RRtkJtyK0Qr/c9OFfMrH APGth2UPWaW1byBpNzhQ/T5cq8f0lqhm1g4lpGrjMm86VKKHUH1hs4f6iS2n1qjS Tr5Q3da4KmYhvn/HMtFq6S283yQjqlRT9DKC1DTFF+gUrvrATnRB/A/pTczxzI+a Ec7IeeqQYmotA576QrMM =sAel -----END PGP SIGNATURE----- --9Dz7ZkHOyZKsJidB--