pgsql: Return the number of rows processed when COPY is executed throug
pgsql: Return the number of rows processed when COPY is executed throug
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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(-)