Re: Short-circuit boolean evaluation - Mailing list pgsql-general

From Tom Lane
Subject Re: Short-circuit boolean evaluation
Date
Msg-id 454.1304184576@sss.pgh.pa.us
Whole thread Raw
In response to Re: Short-circuit boolean evaluation  (David Johnston <polobo@yahoo.com>)
List pgsql-general
David Johnston <polobo@yahoo.com> writes:
> No. It will not be called
> Or
> No. Postgresql does not short-circuit boolean evaluations
> ?

The correct answer is "maybe".  See
http://www.postgresql.org/docs/9.0/static/sql-expressions.html#SYNTAX-EXPRESS-EVAL

            regards, tom lane

pgsql-general by date:

Previous
From: Joel Reymont
Date:
Subject: Re: histogram
Next
From: Rob Sargent
Date:
Subject: Re: histogram