Re: [RRR] Tests citext casts

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [RRR] Tests citext casts
Дата
Msg-id 22638.1226087404@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [RRR] Tests citext casts  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: [RRR] Tests citext casts  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
"David E. Wheeler" <david@kineticode.com> writes:
> Huh. There must be something different about the collation for en_US  
> on Fedora than there is for darwin (what I'm using), because for me,  
> as I said, all tests pass.

Yeah, Darwin seems to just use ASCII sort order in en_US (couldn't say
about its other locales).  glibc-based systems definitely don't though.

>> We could fix it by having multiple variant expected files for C and
>> non-C locales, which is exactly what the core tests do.  However,
>> I'm loath to apply that approach when the citext test already has  
>> XML vs no-XML variants; we would then need two variant files per locale
>> variant, which is a bit unreasonable from a maintenance standpoint.

> This is why I like TAP.

And how would TAP reduce the number of expected results?
        regards, tom lane


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: [RRR] Tests citext casts
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: [RRR] Tests citext casts