Re: wierd AND condition evaluation for plpgsql - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: wierd AND condition evaluation for plpgsql
Date
Msg-id Pine.LNX.4.44.0205281842150.1300-100000@localhost.localdomain
Whole thread Raw
In response to wierd AND condition evaluation for plpgsql  (Louis-David Mitterrand <vindex@apartia.org>)
Responses Re: wierd AND condition evaluation for plpgsql
Re: wierd AND condition evaluation for plpgsql
List pgsql-hackers
Louis-David Mitterrand writes:

> Shouldn't plpgsql shortcut AND conditions when a previous one fails, as
> perl does?

Shouldn't perl evaluate all operands unconditionally, like plpgsql does?

Seriously, if you want to change this you have to complain to the SQL
standards committee.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: strange update problem with 7.2.1
Next
From: Peter Eisentraut
Date:
Subject: Perl build fix attempted