pgsql: Change return type of ExceptionalCondition to void and mark it n - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Change return type of ExceptionalCondition to void and mark it n
Date
Msg-id E1SOYqE-0002Uf-CQ@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make a copy-editing pass over the new documentation for statisti
Next
From: Tom Lane
Date:
Subject: pgsql: Further editorialization on the new documentation for statistics