Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values on
Bruce Momjian <bruce@momjian.us>
Add PL/pgSQL SQLSTATE and SQLERRM support which sets these values on error. Pavel Stehule
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/plpgsql.sgml | modified | +8 −7 |
| src/pl/plpgsql/src/gram.y | modified | +27 −5 |
| src/pl/plpgsql/src/pl_exec.c | modified | +46 −1 |
| src/pl/plpgsql/src/plpgsql.h | modified | +6 −4 |
| src/test/regress/expected/plpgsql.out | modified | +26 −0 |
| src/test/regress/sql/plpgsql.sql | modified | +20 −0 |