Re: Casting INT4 to BOOL...

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Casting INT4 to BOOL...
Дата
Msg-id 200410111137.39825.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: Casting INT4 to BOOL...  (Sean Chittenden <chitt@speakeasy.net>)
Список pgsql-patches
Sean Chittenden wrote:
> Alrighty.  Do you want an updated patch for the single character
> tweak or can you futz with it before committing?  :)

I oppose casts from boolean to integer or vice versa.

> Anyway, with Qt, it converts bool values to integers.  I think Qt's
> probably right on this front in that the value 1 should be considered
> true and 0 should be considered false.  My $0.02.  -sc

That's really Qt's problem.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Shinji Teragaito
Дата:
Сообщение: Re: [HACKERS] HP-UX PA-RISC/Itanium 64-bit Patch and HP-UX
Следующее
От: "Michael Paesold"
Дата:
Сообщение: Re: Casting INT4 to BOOL...