Re: PATCH: CITEXT 2.0 v3

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: PATCH: CITEXT 2.0 v3
Дата
Msg-id C8004B30-B247-475F-8DCD-A69FC971A60F@kineticode.com
обсуждение исходный текст
Ответ на Re: PATCH: CITEXT 2.0 v3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Jul 14, 2008, at 07:26, Tom Lane wrote:

>> I'd like to keep these tests, since they ensure not just that the
>> functions work but that they work with citext.
>
> It might be reasonable to test a couple of them for that purpose.
> If your agenda is "test every function in the system that comes or
> might come in a bpchar variant", I think that's pointless.

Or a varchar variant, or where such a variant might be added in the  
future. To my mind, it's important to have good coverage in my unit  
tests to ensure that things continue to work exactly the same over time.

So, since the tests are already written, and are unlikely to add more  
than a few milliseconds to test runtime, can you at least agree that  
such tests are harmless?

Updated patch later today.

Thanks,

David


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: PATCH: CITEXT 2.0 v3
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: testing locales and encodings