emitting custom INSERT, UPDATE, DELETE row_counts

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: emitting custom INSERT, UPDATE, DELETE row_counts
Date: 2010-05-30 18:57:41
Message-ID: AANLkTiloi6JoqwYi6XX42e79aL12vDAUV7CCU_jNA0ix@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I see it is possible in plpgsql to acquire a statments affect row_count:

http://www.postgresql.org/docs/8.4/static/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS

On the other hand, Is it possible to to emit row counts as well. I'm
curious since I'm revisiting a problem with incorrectly displayed
row_counts on update-able views.

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2010-05-31 00:19:14 PGCon 2010 pictures available
Previous Message Bob Pawley 2010-05-30 18:21:34 Re: Installing version 8.4