Skip site navigation (1) Skip section navigation (2)

pgsql: Change return type of ExceptionalCondition to void and mark itn

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 itn
Date: 2012-04-29 18:27:26
Message-ID: E1SOYqE-0002Uf-CQ@gemulon.postgresql.org (view raw or flat)
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(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2012-04-29 19:36:15
Subject: pgsql: Further editorialization on the new documentation forstatistics
Previous:From: Tom LaneDate: 2012-04-29 17:25:17
Subject: pgsql: Make a copy-editing pass over the new documentation forstatisti

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group