Re: improve FOUND in PL/PgSQL - Mailing list pgsql-patches

From Neil Conway
Subject Re: improve FOUND in PL/PgSQL
Date
Msg-id 87fzxhcwtu.fsf@klamath.dyndns.org
Whole thread Raw
In response to Re: improve FOUND in PL/PgSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: improve FOUND in PL/PgSQL  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Your patch has been added to the PostgreSQL unapplied patches list

I've attached an updated patch. This patch also fixes some bugs in the
setting of FOUND when executing FOR loops, as pointed out by Tom Lane,
and documents this capability. I also made the regression test a
little more compact.

Unfortunately, the code is a bit less elegant than I'd like. If anyone
has any suggestions on how to implement these changes in a more concise
fashion, I'd be interested.

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC

Attachment

pgsql-patches by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: [HACKERS] Better handling of parse errors
Next
From: Neil Conway
Date:
Subject: Re: updated lock listing patch