Re: RfD: more powerful "any" types

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: RfD: more powerful "any" types
Дата
Msg-id 2D036416-B71C-4A7C-A35F-3A6962119AE5@kineticode.com
обсуждение исходный текст
Ответ на Re: RfD: more powerful "any" types  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: RfD: more powerful "any" types
Список pgsql-hackers
On Sep 8, 2009, at 10:15 AM, Tom Lane wrote:

>>     arg_a IS DISTINCT FROM arg_b
>
> Surely you'd want arg_a and arg_b constrained to the same type,
> otherwise there is no certainty that that means anything at all.

Yes, for the purposes of pgTAP perhaps so. Then it's on the user to do  
the cast, because she decides that the cast is appropriate. Otherwise,  
as I said, perhaps it'd be too magical.

Best,

David


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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: RfD: more powerful "any" types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: RfD: more powerful "any" types