Re: Casting INT4 to BOOL...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Michael Paesold" <mpaesold(at)gmx(dot)at>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Sean Chittenden" <chitt(at)speakeasy(dot)net>, "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Casting INT4 to BOOL...
Date: 2004-10-11 13:50:23
Message-ID: 4045.1097502623@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Michael Paesold" <mpaesold(at)gmx(dot)at> writes:
> Peter Eisentraut wrote:
>> I oppose casts from boolean to integer or vice versa.

> Even _explicit_ casts only? It would not have any bad side effects on people
> not using it, would it?

I agree with Michael's position. I don't like implicit/automatic casts
any more than Peter does, but I don't see a strong argument against
providing explicit casts.

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-10-11 18:17:08 Re: plperl features
Previous Message Michael Paesold 2004-10-11 10:11:00 Re: Casting INT4 to BOOL...