]> granicus.if.org Git - postgresql/commit
A few fixups in error handling: mark pg_re_throw() as noreturn for gcc,
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 4 May 2007 02:01:02 +0000 (02:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 4 May 2007 02:01:02 +0000 (02:01 +0000)
commit79ca7ffeb6a43c1f2af80ead6a2dffd120594cf9
tree7e2fbab1423be74544c0bfaafd1d496541512191
parentd26559dbf356736923b26704ce76ca820ff3a2b0
A few fixups in error handling: mark pg_re_throw() as noreturn for gcc,
and for other compilers, insert a dummy exit() call so that they understand
PG_RE_THROW() doesn't return.  Insert fflush(stderr) in ExceptionalCondition,
per recent buildfarm evidence that that might not happen automatically on some
platforms.  And const-ify ExceptionalCondition's declaration while at it.
src/backend/utils/error/assert.c
src/backend/utils/error/elog.c
src/include/postgres.h
src/include/utils/elog.h