Re: Casting INT4 to BOOL... - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Casting INT4 to BOOL...
Date
Msg-id 200410111137.39825.peter_e@gmx.net
Whole thread Raw
In response to Re: Casting INT4 to BOOL...  (Sean Chittenden <chitt@speakeasy.net>)
List 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 by date:

Previous
From: Shinji Teragaito
Date:
Subject: Re: [HACKERS] HP-UX PA-RISC/Itanium 64-bit Patch and HP-UX
Next
From: "Michael Paesold"
Date:
Subject: Re: Casting INT4 to BOOL...