Re: Some questions about PLpgSql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: sqllist <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Some questions about PLpgSql
Date: 2001-03-15 16:35:28
Message-ID: 14113.984674128@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Now, testing how many rows were inserted/updated/deleted ... that I'm
> not sure about. It would be nice to have a ROWS_AFFECTED returned from
> a data manipulation query in PL/pgSQL, but I don't believe that that has
> been implemented.

It has as of 7.1 --- see GET DIAGNOSTICS foo = ROW_COUNT.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2001-03-15 17:02:37 Re: List Concatination
Previous Message Josh Berkus 2001-03-15 16:29:50 Re: List Concatination