1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Have PL/pgSQL FETCH set DIAGNOSTICS ROW_COUNT.

Andrew Gierth
This commit is contained in:
Bruce Momjian
2009-04-02 19:20:45 +00:00
parent 227f817c1f
commit 2faa8e2ac1
2 changed files with 5 additions and 3 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.237 2009/04/02 01:16:11 tgl Exp $
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.238 2009/04/02 19:20:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -3368,6 +3368,8 @@ exec_stmt_fetch(PLpgSQL_execstate *estate, PLpgSQL_stmt_fetch *stmt)
exec_set_found(estate, n != 0);
}
estate->eval_processed = n;
return PLPGSQL_RC_OK;
}