]> granicus.if.org Git - postgresql/commit
Support "OR condition ..." in plpgsql EXCEPTION clauses to make the syntax
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Jul 2004 23:04:58 +0000 (23:04 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Jul 2004 23:04:58 +0000 (23:04 +0000)
commit9c8d0850c367e3f5eaac1f608c183311216f1cb0
tree965a9b571a35da39011675dfa5ae6fd37e21dd1d
parentad4d2e9711194e5c0c8dd00ff458085bf2a56c0c
Support "OR condition ..." in plpgsql EXCEPTION clauses to make the syntax
more nearly Oracle-equivalent.  Allow matching by category as well as
specific error code.  Document the set of available condition names
(or more accurately, synchronize it with the existing documentation).  In
passing, update errcodes.sgml to include codes added during 7.5 development.
doc/src/sgml/errcodes.sgml
doc/src/sgml/plpgsql.sgml
src/include/utils/elog.h
src/pl/plpgsql/src/gram.y
src/pl/plpgsql/src/pl_exec.c
src/pl/plpgsql/src/pl_funcs.c
src/pl/plpgsql/src/plerrcodes.h
src/pl/plpgsql/src/plpgsql.h
src/pl/plpgsql/src/scan.l
src/test/regress/expected/plpgsql.out
src/test/regress/sql/plpgsql.sql