Re: Casting Integer to Boolean in assignment - Mailing list pgsql-general

From Tom Lane
Subject Re: Casting Integer to Boolean in assignment
Date
Msg-id 17453.1548342682@sss.pgh.pa.us
Whole thread Raw
In response to Re: Casting Integer to Boolean in assignment  (Geoff Winkless <pgsqladmin@geoff.dj>)
Responses Re: Casting Integer to Boolean in assignment
List pgsql-general
Geoff Winkless <pgsqladmin@geoff.dj> writes:
> On Thu, 24 Jan 2019 at 14:28, David G. Johnston
> <david.g.johnston@gmail.com> wrote:
>> To assist developers in avoiding the writing of buggy queries.

> Amazing how many of these developers find this a hindrance. If only
> they could see how helpful we're being to them.

People don't generally post to the lists after a type-mismatch error
catches a typo for them.  So it's pretty hard to tell about "how
many" developers would find one behavior more useful than the other.
It is safe to say, though, that the same developer complaining today
might have their bacon saved tomorrow.

            regards, tom lane


pgsql-general by date:

Previous
From: Ron
Date:
Subject: Re: Casting Integer to Boolean in assignment
Next
From: Stephen Frost
Date:
Subject: Re: [pgbackrest] Expiring the last backup?