Re: Can't ri_KeysEqual() consider two nulls as equal?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't ri_KeysEqual() consider two nulls as equal?
Дата
Msg-id 6214.1176920584@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Can't ri_KeysEqual() consider two nulls as equal?  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-hackers
Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
> On Tue, 17 Apr 2007, Tom Lane wrote:
>> I claim that both ri_KeysEqual() and ri_OneKeyEqual() could consider
>> two nulls to be equal.

> Do you have any suggestions for alternate names? Keeping them using Equal
> seems to be dangerous since people would likely expect it to act like
> normal equality (with nulls being different).

I think Richard's suggestion of KeysUnchanged would work fine.
        regards, tom lane


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Can't ri_KeysEqual() consider two nulls as equal?
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Background LRU Writer/free list