Re: Make foo=null a warning by default. - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: Make foo=null a warning by default.
Date
Msg-id alpine.DEB.2.21.1807170744380.29486@lancre
Whole thread Raw
In response to Re: Make foo=null a warning by default.  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
Hello,

> Yeah, I was wondering about that too. But Fabien brought up a completely new 
> use-case for this: people learning SQL.

Indeed.

This year, about 30% of my students wrote "= NULL" in a query at least 
once. Probably I or a colleague were called to the rescue for help.

So this warning would save me time, which explains why I reviewed the 
patch with such enthousiasm:-)

I'm fine with keeping the current behavior as a default.

-- 
Fabien.


pgsql-hackers by date:

Previous
From: Andrey Klychkov
Date:
Subject: Re[2]: Alter index rename concurrently to
Next
From: Haribabu Kommi
Date:
Subject: Re: Libpq support to connect to standby server as priority