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

From: Mirko Pace <mirkop82(at)gmail(dot)com>
To: General postgres mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: UPDATE statement with syntax error doesn't raise a warning?
Date: 2009-09-28 13:29:19
Message-ID: 8eae94e10909280629i8c8ea15y492b3b4ed4dd30f6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

---------- Forwarded message ----------
From: Mirko Pace <mirkop82(at)gmail(dot)com>
Date: Mon, Sep 28, 2009 at 2:59 PM
Subject: Re: [GENERAL] UPDATE statement with syntax error doesn't raise a
warning?
To: David W Noon <dwnoon(at)ntlworld(dot)com>

> 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message 纪晓曦 2009-09-28 14:03:18 Re: How to write a constraint which need to check other table?
Previous Message A. Kretschmer 2009-09-28 13:06:02 Re: How to write a constraint which need to check other table?