pgsql: Return the number of rows processed when COPY is executed throug

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Return the number of rows processed when COPY is executed throug
Дата
Msg-id E1TJNHo-0006bj-W3@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Return the number of rows processed when COPY is executed through SPI.

You can now get the number of rows processed by a COPY statement in a
PL/pgSQL function with "GET DIAGNOSTICS x = ROW_COUNT".

Pavel Stehule, reviewed by Amit Kapila, with some editing by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7ae1815961c635fd1a6fe72acb89fdef741a45a8

Modified Files
--------------
doc/src/sgml/spi.sgml      |    5 ++++-
src/backend/executor/spi.c |   24 +++++++++++++++---------
2 files changed, 19 insertions(+), 10 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: pgsql: Split off functions related to timeline history files and XLOG a
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Add --sampling-rate option to pgbench.