Thread: Pl/PgSQL improvements

Pl/PgSQL improvements

From
Viacheslav N Tararin
Date:
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

From
Tom Lane
Date:
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