Re: [HACKERS] partitioned tables and contrib/sepgsql

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



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [HACKERS] partitioned tables and contrib/sepgsql
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [HACKERS] SCRAM authentication, take three