]> granicus.if.org Git - postgresql/commit
Add compiler hints to PLy_elog()
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 23 Aug 2017 00:05:49 +0000 (20:05 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 29 Nov 2017 14:56:49 +0000 (09:56 -0500)
commitcdddd5d40b8a8b37db18adda3912e029756d1e36
treeeebbf34e9c5c2e96453bca2dbf81739f3cd9a53c
parenteaedf0df7197b21182f6c341a44e4fdaa3cd6ea6
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>
src/pl/plpython/plpy_elog.c
src/pl/plpython/plpy_elog.h