Re: Type resolution for operators

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Type resolution for operators
Дата
Msg-id Pine.LNX.4.21.0011081750400.1138-100000@peter.localdomain
обсуждение исходный текст
Ответ на Type resolution for operators  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Ответы Re: Type resolution for operators  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Thomas Lockhart writes:

> (and returns 'false'). To force these to be handled as integers, prefix
> one with the "int" type specifier:
> 
>   select int '1' = '01';
> 
> which, btw, returns 'true'.

Uh, how can an integer be equal to a character value?  Where did the type
system go?

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Unhappy thoughts about pg_dump and objects inherited from template1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Type resolution for operators