Re: Casting INT4 to BOOL...

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Sean Chittenden <chitt(at)speakeasy(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Casting INT4 to BOOL...
Date: 2004-10-11 09:37:39
Message-ID: 200410111137.39825.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Paesold 2004-10-11 10:11:00 Re: Casting INT4 to BOOL...
Previous Message Shinji Teragaito 2004-10-11 07:31:27 Re: [PATCHES] HP-UX PA-RISC/Itanium 64-bit Patch and HP-UX