Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewEa8-0005Ya-MV for pgsql-committers@arkaria.postgresql.org; Wed, 14 Mar 2018 22:09:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewEa7-0002xj-MV for pgsql-committers@arkaria.postgresql.org; Wed, 14 Mar 2018 22:09:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewEa7-0002xZ-E9 for pgsql-committers@lists.postgresql.org; Wed, 14 Mar 2018 22:09:11 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewEa4-0002nZ-B6 for pgsql-committers@postgresql.org; Wed, 14 Mar 2018 22:09:09 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 60D025F79C; Wed, 14 Mar 2018 18:09:07 -0400 (EDT) Date: Wed, 14 Mar 2018 18:09:07 -0400 From: Stephen Frost To: Andres Freund Cc: Peter Eisentraut , andrew@dunslane.net, pgsql-committers@postgresql.org Subject: Re: pgsql: Remove pg_class.relhaspkey Message-ID: <20180314220907.GN2416@tamriel.snowman.net> References: <20180314211344.3x2bhr7bmqmtvor6@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tVntxSY0X5WsNOYC" Content-Disposition: inline In-Reply-To: <20180314211344.3x2bhr7bmqmtvor6@alap3.anarazel.de> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --tVntxSY0X5WsNOYC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Andres Freund (andres@anarazel.de) wrote: > On 2018-03-14 19:35:40 +0000, Peter Eisentraut wrote: > > Remove pg_class.relhaspkey > >=20 > > It is not used for anything internally, and it cannot be relied on for > > external uses, so it can just be removed. To correct recommended way to > > check for a primary key is in pg_index. > >=20 > > Discussion: https://www.postgresql.org/message-id/flat/b1a24c6c-6913-f8= 9c-674e-0704f0ed69db@2ndquadrant.com >=20 > I'm not clear on the mechanics, and the animal doesn't show the critical > log. But this might have caused the issue, being the only commit between > runs: >=20 > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dcrake&dt=3D2018= -03-14%2019%3A37%3A20 >=20 > Andrew, any chance you could modify the module to capture > pg_upgrade_dump_*.log? I've not quite tracked it down, but I would caution against blaming this commit- when doing some parallel regression test runs, I was seeing failures also, but they've not been consistent and I was trying to get something else done so didn't focus on them, so they may have been failures due to my environment, but might also be some kind of race condition in an earlier commit (my guess at the moment is actually the INOUT arguments for procedures commit...). I'll try doing some more runs to see if I can reproduce it, but wanted to mention it, just to encourage people to consider looking more broadly than just this commit if they run into similar issues. Thanks! Stephen --tVntxSY0X5WsNOYC Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJaqZ2CAAoJEO1sijiDR2RVHHoQAK5Urp4fmll1KkSTLT4p2lU2 Niayi0LwcISm5ERDxiDJ+nt5rGuYs8Mgmu8gDK5jVXMu/VzPJIs5oktX0UMCjcEY 1IXT9N95SI+gj+GKPj5MAguqXkaHAAC+vjwL0UV5JSk7EM+aJ86nAfWuDAdJlNsO qNYIeD0Dqr7UDhB+46rHaiinAFwJ+ckI0t05onjfCT9ut6zoclPTGF8bkzZUsAyQ 7cFMASTJ/hREgCiexCYrQmiQClKxQmbmyHtMIWrN5mpEmlZeC28myOMNR7ya9CVi zpuN3PBmDi6w+ByuVx4i0BalnTBUNK+4OjlBIcpFUEXRBxmV+QKXdCZ6vhw0Wen0 twFLQR6H0CHccXXiIdWIziCYx0/FX/U/xPjwL3/UlnX9B2kw1NsdNwc8bVWDXOjp 7Cz8JRyZ/QMhjCNFTwYfiRd3y7dVtm8I9b5fbkIf8ZrymlI0vID4cByYMbkoMM+r m0ecjrDFvLFYm5FYFPnoLtJ62EM57UVrZkpO2IXMS5bTs6axZ/Vwx2eIbKpZw7Rr MZM69/5a/XLnf5Q3RKgplHtBK2iva5QcmT8q23k4xfCAt9I1GV+UrkF2iEPPN3wK +1iFsd1aplCytU2SNIGnmQ2OHraiUkoAUeDnGOXU58fSfjCxfphaUoiozDq4XAjI lDR2L+HpYfqGYUlV4n3B =2Y9k -----END PGP SIGNATURE----- --tVntxSY0X5WsNOYC--