Re: [BUGS] Bug #840: Query with null string

2002-12-06 Thread Stephan Szabo
On Fri, 6 Dec 2002 [EMAIL PROTECTED] 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 t

[BUGS] Bug #840: Query with null string

2002-12-06 Thread pgsql-bugs
Stéphane Bérubé ([EMAIL PROTECTED]) reports a bug with a severity of 2 The lower the number the more severe it is. Short Description Query with null string Long Description When I do a query (SELECT or INSERT) with null vars (see example) I get warnings from php: Warning: pg_query() query faile