Re: wierd AND condition evaluation for plpgsql

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Louis-David Mitterrand <vindex(at)apartia(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: wierd AND condition evaluation for plpgsql
Date: 2002-05-28 16:52:44
Message-ID: Pine.LNX.4.44.0205281842150.1300-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-05-28 16:57:08 Perl build fix attempted
Previous Message Tom Lane 2002-05-28 15:26:28 Re: strange update problem with 7.2.1