]> granicus.if.org Git - postgresql/commit
Restructure error handling as recently discussed. It is now really
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Jul 2004 00:45:57 +0000 (00:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Jul 2004 00:45:57 +0000 (00:45 +0000)
commita393fbf93763709f90ba1f968e50a35bd4cabcfb
tree955d74e7181214688b575f31c243005fe470dfe1
parent94f8f63fdbcf61a56a23b8052d68fd78bec86a3b
Restructure error handling as recently discussed.  It is now really
possible to trap an error inside a function rather than letting it
propagate out to PostgresMain.  You still have to use AbortCurrentTransaction
to clean up, but at least the error handling itself will cooperate.
20 files changed:
src/backend/bootstrap/bootstrap.c
src/backend/commands/copy.c
src/backend/commands/portalcmds.c
src/backend/commands/vacuum.c
src/backend/postmaster/bgwriter.c
src/backend/postmaster/postmaster.c
src/backend/storage/large_object/inv_api.c
src/backend/tcop/postgres.c
src/backend/tcop/pquery.c
src/backend/utils/error/elog.c
src/backend/utils/resowner/README
src/backend/utils/resowner/resowner.c
src/include/tcop/tcopprot.h
src/include/utils/elog.h
src/pl/plperl/plperl.c
src/pl/plpgsql/src/pl_comp.c
src/pl/plpgsql/src/pl_exec.c
src/pl/plpython/plpython.c
src/pl/plpython/plpython.h [deleted file]
src/pl/tcl/pltcl.c