Search Postgresql Archives

Re: UPDATE statement with syntax error doesn't raise a warning?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





---------- Forwarded message ----------
From: Mirko Pace <mirkop82@xxxxxxxxx>
Date: Mon, Sep 28, 2009 at 2:59 PM
Subject: Re: UPDATE statement with syntax error doesn't raise a warning?
To: David W Noon <dwnoon@xxxxxxxxxxxx>




I presume you meant "nothing" rather than "anything".
 

sorry for my poor english :/


SET boolean_field = (true AND my_notes = 'something')

As you can see, this is a valid Boolean _expression_. There is no syntax
error. It just doesn't mean what you wanted.

uhm... I forgot to specify:

PostgreSQL 8.3.8 on i686-pc-linux-gnu, compiled by GCC gcc (Debian 4.3.2-1.1) 4.3.2
psql 8.3.8 (Ubuntu package)
_AND_
Mirko 0.01alpha

thank you all for being so patient with me.

Have a nice day!

Mirko


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux