Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Neil Conway wrote:
> This patch improves the behavior of FOUND in PL/PgSQL. In Oracle,
> FOUND is set whenever a SELECT INTO returns > 0 rows, *or* when an
> INSERT, UPDATE, or DELETE affects > 0 rows. We implemented the first
> part of this behavior, but not the second.
>
> I also improved the documentation on the various situations in which
> FOUND can be set (excluding inside FOR loops, which I still need to
> think about), and added some regression tests for this behavior.
>
> Cheers,
>
> Neil
>
> --
> Neil Conway <neilconway@rogers.com>
> PGP Key ID: DB3C29FC
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073