Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxMR9-0007ew-NO for pgsql-hackers@arkaria.postgresql.org; Sun, 09 Apr 2017 23:40:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cxMR9-0005O6-98 for pgsql-hackers@arkaria.postgresql.org; Sun, 09 Apr 2017 23:40:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cxMR8-0005Nh-JH for pgsql-hackers@postgresql.org; Sun, 09 Apr 2017 23:40:02 +0000 Received: from 104-190-1-44.lightspeed.sndgca.sbcglobal.net ([104.190.1.44] helo=joeconway.com) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cxMR5-0003XZ-J5 for pgsql-hackers@postgresql.org; Sun, 09 Apr 2017 23:40:02 +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 18344109; Sun, 09 Apr 2017 16:39:56 -0700 Subject: Re: partitioned tables and contrib/sepgsql To: Tom Lane 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> <71b46178-dba0-1065-d355-28c221bf94d4@joeconway.com> <32604.1491779681@sss.pgh.pa.us> Cc: Andres Freund , Andrew Dunstan , Stephen Frost , Robert Haas , Mike Palmiotto , Peter Eisentraut , "pgsql-hackers@postgresql.org" From: Joe Conway Openpgp: id=4EA5B4659ED59CC9538139A5332B7E68B699434A Message-ID: <283e66d0-e98b-69c0-e79d-ec2cc93fece4@joeconway.com> Date: Sun, 9 Apr 2017 16:39:55 -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: <32604.1491779681@sss.pgh.pa.us> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dNRN3trOobEVUjphCG8Te72HotEQcS4rK" 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) --dNRN3trOobEVUjphCG8Te72HotEQcS4rK From: Joe Conway To: Tom Lane Cc: Andres Freund , Andrew Dunstan , Stephen Frost , Robert Haas , Mike Palmiotto , Peter Eisentraut , "pgsql-hackers@postgresql.org" Message-ID: <283e66d0-e98b-69c0-e79d-ec2cc93fece4@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> <71b46178-dba0-1065-d355-28c221bf94d4@joeconway.com> <32604.1491779681@sss.pgh.pa.us> In-Reply-To: <32604.1491779681@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 04/09/2017 04:14 PM, Tom Lane wrote: > Joe Conway writes: >>> 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. >=20 >> Looks like adding COLLATE "C" in the ORDER BY clauses does the trick. Is >> that the preferred method for this kind of issue? >=20 > Yeah, that's pretty much the standard fix nowadays. Good to hear, thanks -- rhino is back to green. Joe --=20 Crunchy Data - http://crunchydata.com PostgreSQL Support for Secure Enterprises Consulting, Training, & Open Source Development --dNRN3trOobEVUjphCG8Te72HotEQcS4rK 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 iQIcBAEBCAAGBQJY6sZLAAoJEDfy90M199hlprAQAKNK6bfuhcUiaXcCvCA+skQa /Q+2XwbedgOQj5oQ8LmTgN8hzyZp0XR+iTCwRytpSENG6xhiywt1D2Ab/xAXD8h8 VIb0H0ibqhcEYxclWneIMkMtVz8FkpMf6ZmdthtgDr2ghyFqB0Up3kraJHSjMcwv whUs8XaS4HXjVfyIJx/OTeaC4y7wxxXRtlPARaa0cM2B9J0MHvWyxEJQoCOeK70o HDwCLISchVL1wjd6dYvTWAAR1VvL7HQHpWp9oerYtLuddP0yN5KqILHzl0auvQnP sev4d7g3XSpkFfEC9K/iH5xoDdv9QO+0FY0TDKYoxmgyXAJbgkiaaQ3JfVAv2voo qvCHkIrcr0xoHuj3h2/HsEE9cLSUUvOyR1tuPKXbghVly0+klqmIxawRdnpf/nQC pPWKYuByBhbVmqK7BMKJyjlkPuQBgWuTHEChT/WMdnvOEZphkLEh9fOoiQHF7mrV LLKcywCKzGoyuH2PfggznQo1V/kTdC2hXzcJZVst6XS6qZWNPsXe8lyU5fe2r5fh B+rCslJRT8XiZkgkeI7sjpxg4AQWQGTlN4w47ttdLQ/0UYqHIIZyFdig9ruTcKf2 fJ1KHI3M17UyfbE+/dpFd9+Q6zyaniaL7VEU+zxuPNj3SwDQEgXzSfz+SsTBDLMk KSIrcjiMhmfjbrB5Ak+t =hlnk -----END PGP SIGNATURE----- --dNRN3trOobEVUjphCG8Te72HotEQcS4rK--