On Fri, 6 Dec 2002 pgsql-bugs(at)postgresql(dot)org wrote:
> Sample Code
> SELECT * FROM tbluser WHERE userid = ""
I assume you mean '' rather than "".
0 length strings used to be interpreted as having
the value 0 when converted into an integer. Now it
throws an error instead. There was some discussion
at the time it happened and some more recently on
the mailing lists, you should be able to get more
info from the archives.