Re: is this a bug or I am blind?

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: is this a bug or I am blind?
Дата
Msg-id 87y82kbt7q.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: is this a bug or I am blind?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> The other approach we could take is to define text comparison as
> yielding equality only for bitwise-equal strings.  If strcoll() returns
> zero then ask strcmp() for a second opinion.

Fwiw this has come up before on this list and it was discovered this is
effectively what Perl does, probably for similar motivations wrt to hashes.

I think it's probably the least bad solution, even if it's not really the
right thing.

--
greg

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

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Re: 8.1 build on Solaris has LATIN9?
Следующее
От: Chris Browne
Дата:
Сообщение: Re: Getting a DB password to work without editing pg_hba.conf,