Re: [HACKERS] partitioned tables and contrib/sepgsql

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: [HACKERS] partitioned tables and contrib/sepgsql
Дата
Msg-id 283e66d0-e98b-69c0-e79d-ec2cc93fece4@joeconway.com
обсуждение исходный текст
Ответ на Re: [HACKERS] partitioned tables and contrib/sepgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] pgbench - allow to store select results intovariables
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [HACKERS] pg_dump emits ALTER TABLE ONLY partitioned_table