pgsql: Change return type of ExceptionalCondition to void and mark it n

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change return type of ExceptionalCondition to void and mark it n
Date: 2012-04-29 18:27:26
Message-ID: E1SOYqE-0002Uf-CQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Change return type of ExceptionalCondition to void and mark it noreturn

In ancient times, it was thought that this wouldn't work because of
TrapMacro/AssertMacro, but changing those to use a comma operator
appears to work without compiler warnings.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/81107282a5ff1490a0a4ded193cbc61e69cda537

Modified Files
--------------
src/backend/utils/error/assert.c | 7 +------
src/backend/utils/error/elog.c | 8 +-------
src/include/postgres.h | 8 ++++----
3 files changed, 6 insertions(+), 17 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-04-29 19:36:15 pgsql: Further editorialization on the new documentation for statistics
Previous Message Tom Lane 2012-04-29 17:25:17 pgsql: Make a copy-editing pass over the new documentation for statisti