pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Mike Palmiotto <mike.palmiotto@crunchydata.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: partitioned tables and contrib/sepgsql
Date: Sun, 9 Apr 2017 16:39:55 -0700
Message-ID: <283e66d0-e98b-69c0-e79d-ec2cc93fece4@joeconway.com> (raw)
In-Reply-To: <32604.1491779681@sss.pgh.pa.us>
References: <4897.1491507340@sss.pgh.pa.us>
	<63551fd7-6cdf-d1d7-95dd-c3be0283790d@joeconway.com>
	<CAMN686FHrqaJhkhen-ZBtj9z9MKjcL28iTFhVSGZcWXPonWRLQ@mail.gmail.com>
	<CAMN686HVYUnNN=czmDgZc6ckCv1G=4-qL0580sryrLuJzgjUoA@mail.gmail.com>
	<55e0da74-03d5-d364-7a90-f830ae934a26@joeconway.com>
	<CA+TgmobcKwZZiL3Wd2bMSRRWW66vi=RW4jhvbzxD4=ouHkeW3A@mail.gmail.com>
	<b2803a54-41c8-9400-c29c-6f6672509b9c@joeconway.com>
	<20170408142921.GB9812@tamriel.snowman.net>
	<f3620c05-a597-2f34-5ed4-799d25060dbc@joeconway.com>
	<4c5581ff-3246-dd6d-a9c2-ce17d8b51fbb@joeconway.com>
	<20170409214945.m7ig63imxrhflvuf@alap3.anarazel.de>
	<f6e1cb01-9c60-86e6-8cc3-d1f9d5dc75e8@joeconway.com>
	<71b46178-dba0-1065-d355-28c221bf94d4@joeconway.com>
	<32604.1491779681@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 04/09/2017 04:14 PM, Tom Lane wrote:
> Joe Conway <mail@joeconway.com> 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.
> 
>> Looks like adding COLLATE "C" in the ORDER BY clauses does the trick. Is
>> that the preferred method for this kind of issue?
> 
> Yeah, that's pretty much the standard fix nowadays.


Good to hear, thanks -- rhino is back to green.

Joe

-- 
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (61+ messages)

Message-ID: <283e66d0-e98b-69c0-e79d-ec2cc93fece4@joeconway.com>
Permalink:  ../283e66d0-e98b-69c0-e79d-ec2cc93fece4@joeconway.com/
Also on:    postgresql.org/message-id/283e66d0-e98b-69c0-e79d-ec2cc93fece4@joeconway.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: mail@joeconway.com, tgl@sss.pgh.pa.us, andres@anarazel.de, andrew@dunslane.net, sfrost@snowman.net, robertmhaas@gmail.com, mike.palmiotto@crunchydata.com, peter.eisentraut@2ndquadrant.com
  Subject: Re: partitioned tables and contrib/sepgsql
  In-Reply-To: <283e66d0-e98b-69c0-e79d-ec2cc93fece4@joeconway.com>
  References: <4897.1491507340@sss.pgh.pa.us> <63551fd7-6cdf-d1d7-95dd-c3be0283790d@joeconway.com> <CAMN686FHrqaJhkhen-ZBtj9z9MKjcL28iTFhVSGZcWXPonWRLQ@mail.gmail.com> <CAMN686HVYUnNN=czmDgZc6ckCv1G=4-qL0580sryrLuJzgjUoA@mail.gmail.com> <55e0da74-03d5-d364-7a90-f830ae934a26@joeconway.com> <CA+TgmobcKwZZiL3Wd2bMSRRWW66vi=RW4jhvbzxD4=ouHkeW3A@mail.gmail.com> <b2803a54-41c8-9400-c29c-6f6672509b9c@joeconway.com> <20170408142921.GB9812@tamriel.snowman.net> <f3620c05-a597-2f34-5ed4-799d25060dbc@joeconway.com> <4c5581ff-3246-dd6d-a9c2-ce17d8b51fbb@joeconway.com> <20170409214945.m7ig63imxrhflvuf@alap3.anarazel.de> <f6e1cb01-9c60-86e6-8cc3-d1f9d5dc75e8@joeconway.com> <71b46178-dba0-1065-d355-28c221bf94d4@joeconway.com> <32604.1491779681@sss.pgh.pa.us> <283e66d0-e98b-69c0-e79d-ec2cc93fece4@joeconway.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox