diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-08-21 00:03:32 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-08-21 00:03:32 -0400 |
commit | 71450d7fd6c7cf7b3e38ac56e363bff6a681973c (patch) | |
tree | 172ff1ebc32be5c6c275da415625e43f39252ae4 /doc/src/sgml/ref/commit.sgml | |
parent | ffdd5a0ee37c5ac38038aeff98328727e986d2da (diff) | |
download | postgresql-71450d7fd6c7cf7b3e38ac56e363bff6a681973c.tar.gz postgresql-71450d7fd6c7cf7b3e38ac56e363bff6a681973c.zip |
Teach compiler that ereport(>=ERROR) does not return
When elevel >= ERROR, we add an abort() call to the ereport() macro to
give the compiler a hint that the ereport() expansion will not return,
but the abort() isn't actually reached because the longjmp happens in
errfinish().
Because the effect of ereport() varies with the elevel, we cannot use
standard compiler attributes such as noreturn for this.
Diffstat (limited to 'doc/src/sgml/ref/commit.sgml')
0 files changed, 0 insertions, 0 deletions