Re: is this a bug or I am blind?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Mage <mage(at)mage(dot)hu>, pgsql-general(at)postgresql(dot)org
Subject: Re: is this a bug or I am blind?
Date: 2005-12-16 21:57:45
Message-ID: 87y82kbt7q.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2005-12-16 22:09:00 Re: [GENERAL] Transacciones Anidadas
Previous Message Jerry Sievers 2005-12-16 21:47:37 Re: 8.1 build on Solaris has LATIN9?