Re: improve FOUND in PL/PgSQL

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: improve FOUND in PL/PgSQL
Дата
Msg-id 200208140547.g7E5lvt02867@candle.pha.pa.us
обсуждение исходный текст
Ответ на improve FOUND in PL/PgSQL  (Neil Conway <nconway@klamath.dyndns.org>)
Ответы Re: improve FOUND in PL/PgSQL  (Neil Conway <nconway@klamath.dyndns.org>)
Список pgsql-patches
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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: contrib/ buffer paranoia
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] CREATE TEMP TABLE .... ON COMMIT