Add compiler hints to PLy_elog()

Peter Eisentraut <peter_e@gmx.net>

Commit: cdddd5d40b8a8b37db18adda3912e029756d1e36
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2017-11-29T14:56:49Z
Releases: 11.0
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>

Files

PathChange+/−
src/pl/plpython/plpy_elog.c modified +1 −1
src/pl/plpython/plpy_elog.h modified +27 −1