Обсуждение: emitting custom INSERT, UPDATE, DELETE row_counts

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

emitting custom INSERT, UPDATE, DELETE row_counts

От
Richard Broersma
Дата:
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