Обсуждение: Pl/PgSQL improvements

Поиск
Список
Период
Сортировка

Pl/PgSQL improvements

От
Viacheslav N Tararin
Дата:
Hello ,

May be out of topics.

I make some modification for PL/PgSQL.

Was added global static variable rowcount, which mirror SPI_porecessed
variable.

Can core developers insert this modifications in distribution?
If yes, how this must be performed?

Regards.

--
Best regards,
 Viacheslav                          mailto:taras@deka.kp.km.ua



Re: Pl/PgSQL improvements

От
Tom Lane
Дата:
Viacheslav N Tararin <taras@deka.kp.km.ua> writes:
> I make some modification for PL/PgSQL.

> Was added global static variable rowcount, which mirror SPI_porecessed
> variable.

In 7.1 plpgsql, "GET DIAGNOSTICS foo = ROW_COUNT" handles this.

            regards, tom lane