pgsql: Add compiler hints to PLy_elog() - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Add compiler hints to PLy_elog()
Date
Msg-id E1eK3sZ-0004RH-3g@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add compiler hints to PLy_elog()

Decorate PLy_elog() in a similar way as elog(), to give compilers and
static analyzers hints in which cases it does not return.

Reviewed-by: John Naylor <jcnaylor@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cdddd5d40b8a8b37db18adda3912e029756d1e36

Modified Files
--------------
src/pl/plpython/plpy_elog.c |  2 +-
src/pl/plpython/plpy_elog.h | 28 +++++++++++++++++++++++++++-
2 files changed, 28 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Update typedefs.list and re-run pgindent
Next
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Make memset() use sizeof() rather than re-compute size