Thread: PL/pgsql UPDATE status

PL/pgsql UPDATE status

From
Richard Emberson
Date:
Using an UPDATE statement within a PL/pgsql function is there anyway to
tell
how many rows actually got changed?

Thanks.

Richard


Re: PL/pgsql UPDATE status

From
Tom Lane
Date:
Richard Emberson <emberson@phc.net> writes:
> Using an UPDATE statement within a PL/pgsql function is there anyway to
> tell
> how many rows actually got changed?

See GET DIAGNOSTICS.

            regards, tom lane