From: Tom Lane <tgl@sss.pgh.pa.us>
To: Geoff Winkless <pgsqladmin@geoff.dj>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Alexandre GRAIL <postgresql.general@augure.net>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Casting Integer to Boolean in assignment
Date: Thu, 24 Jan 2019 10:11:22 -0500
Message-ID: <17453.1548342682@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEzk6ffv_490p4z-0mKoxGcp0gVNLmkv84kCn1OvB-=mg_B+tg@mail.gmail.com>
References: <d8fe822a-ac75-5763-00b3-273f11394fc5@augure-ng.fr>
<CAKFQuwZXYgDxDLkB4a2jVn+bcuyxEWyROoKL8z-fwfrbS1pFgA@mail.gmail.com>
<CAEzk6ffv_490p4z-0mKoxGcp0gVNLmkv84kCn1OvB-=mg_B+tg@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsqladmin@geoff.dj, david.g.johnston@gmail.com, postgresql.general@augure.net
Subject: Re: Casting Integer to Boolean in assignment
In-Reply-To: <17453.1548342682@sss.pgh.pa.us>
References: <d8fe822a-ac75-5763-00b3-273f11394fc5@augure-ng.fr> <CAKFQuwZXYgDxDLkB4a2jVn+bcuyxEWyROoKL8z-fwfrbS1pFgA@mail.gmail.com> <CAEzk6ffv_490p4z-0mKoxGcp0gVNLmkv84kCn1OvB-=mg_B+tg@mail.gmail.com> <17453.1548342682@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox