Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxLaM-0002Bo-Gy for pgsql-hackers@arkaria.postgresql.org; Sun, 09 Apr 2017 22:45:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cxLaK-0004vQ-Uv for pgsql-hackers@arkaria.postgresql.org; Sun, 09 Apr 2017 22:45:28 +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.84_2) (envelope-from ) id 1cxLaJ-0004vE-3Y for pgsql-hackers@postgresql.org; Sun, 09 Apr 2017 22:45:27 +0000 Received: from 104-190-1-44.lightspeed.sndgca.sbcglobal.net ([104.190.1.44] helo=joeconway.com) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxLa8-0007oA-Rh for pgsql-hackers@postgresql.org; Sun, 09 Apr 2017 22:45:25 +0000 Received: from [72.214.29.243] (account jconway@joeconway.com HELO [192.168.4.41]) by joeconway.com (CommuniGate Pro SMTP 6.1.4) with ESMTPSA id 18343677; Sun, 09 Apr 2017 15:45:15 -0700 Subject: Re: partitioned tables and contrib/sepgsql To: Andres Freund , Andrew Dunstan References: <4897.1491507340@sss.pgh.pa.us> <63551fd7-6cdf-d1d7-95dd-c3be0283790d@joeconway.com> <55e0da74-03d5-d364-7a90-f830ae934a26@joeconway.com> <20170408142921.GB9812@tamriel.snowman.net> <4c5581ff-3246-dd6d-a9c2-ce17d8b51fbb@joeconway.com> <20170409214945.m7ig63imxrhflvuf@alap3.anarazel.de> Cc: Stephen Frost , Robert Haas , Mike Palmiotto , Tom Lane , Peter Eisentraut , "pgsql-hackers@postgresql.org" From: Joe Conway Openpgp: id=4EA5B4659ED59CC9538139A5332B7E68B699434A Message-ID: <71b46178-dba0-1065-d355-28c221bf94d4@joeconway.com> Date: Sun, 9 Apr 2017 15:45:14 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="x1jb3abReM2BuCR1K4lqlFkbEFLMRpsEu" X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --x1jb3abReM2BuCR1K4lqlFkbEFLMRpsEu From: Joe Conway To: Andres Freund , Andrew Dunstan Cc: Stephen Frost , Robert Haas , Mike Palmiotto , Tom Lane , Peter Eisentraut , "pgsql-hackers@postgresql.org" Message-ID: <71b46178-dba0-1065-d355-28c221bf94d4@joeconway.com> Subject: Re: [HACKERS] partitioned tables and contrib/sepgsql References: <4897.1491507340@sss.pgh.pa.us> <63551fd7-6cdf-d1d7-95dd-c3be0283790d@joeconway.com> <55e0da74-03d5-d364-7a90-f830ae934a26@joeconway.com> <20170408142921.GB9812@tamriel.snowman.net> <4c5581ff-3246-dd6d-a9c2-ce17d8b51fbb@joeconway.com> <20170409214945.m7ig63imxrhflvuf@alap3.anarazel.de> In-Reply-To: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 04/09/2017 03:01 PM, Joe Conway wrote: > On 04/09/2017 02:49 PM, Andres Freund wrote: >> On 2017-04-09 14:28:48 -0700, Joe Conway wrote: >>> Interesting -- rhino is now failing. I tested a minute ago manually on >>> the same buildfarm animal and it passed. I'm on it. >>=20 >> The module for segpsql really needs to be improved so it logs >> regression.diffs - iirc several other modules do. >=20 > Sure, but for another day I think. >=20 > I turned on the buildfarm "keep" setting and looked at the diffs. The > issue is that in there are a few places that do "SELECT ... FROM > pg_seclabels ... ORDER BY ..." and when manually testing I get default > database encoding "UTF8" but with the buildfarm I get "SQL_ASCII", hence > a different sorting. Looks like adding COLLATE "C" in the ORDER BY clauses does the trick. Is that the preferred method for this kind of issue? Joe --=20 Crunchy Data - http://crunchydata.com PostgreSQL Support for Secure Enterprises Consulting, Training, & Open Source Development --x1jb3abReM2BuCR1K4lqlFkbEFLMRpsEu Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJY6rl7AAoJEDfy90M199hlHz0P/jo0SGuxp9ui5TlqovVe0RRd QGXZSeHCkhcm40wywEj1srVP7oYJeX2QCIaw0D1c2k2weeZM0Vr3m91a2cqUPzJd NPLWVzNbYV50CmKUVvq/BJ7yoZxK0FN1C9PDSzCXpB4j/OcFSoqHpqHC0yWvHgkY RqwzJbLnrKOdk5kxm759HbKeHdzE8PjqEIWuGUYK61qtIjfrAEnmOvkvRErbpY69 zcbKK3Kcy0NSF7ulbSAD2CSlSh0LsfMMyfXvDB6Qf2Q8imz7yErqlJvatxp4O06l P0fxm+TPgHDWyYiVBb1p3jehb+PgXSNBzvWCWcwJgpkulHlyO0CB9zphuzzMWxVz d6pKxOebLchE12RYake/BwV64nalDxcQ/ZvnaYw0DweV31hWekqntmnhCGMpl9MZ dyTf+fqMvzzIHIem/2BjRjxXt6vtTfkgW3xV2F12Dl4sNxzbekG8bPxTFTgPGLhf 9TyeNvS0dxUhnMqmCZjC7/DBdM9egAHhNlEWotAbJ3155EUJOCQwyuSvonji4ioV t6S0//ldl3m+7lrLJWxwIOXZ8CTt2qavztmXkahuhtqWl10Cpbmg9A1fzg2UbmUK 8WQ9a5kwiip78zE6HDD3E21oBebkbHYuA76vyCCNBnybQOzZ9NLbEub9IeYX98EO 99a2CbgNsYulJlPWB26h =RET9 -----END PGP SIGNATURE----- --x1jb3abReM2BuCR1K4lqlFkbEFLMRpsEu--