Обсуждение: pgsql: Add compiler hints to PLy_elog()

Поиск
Список
Период
Сортировка

pgsql: Add compiler hints to PLy_elog()

От
Peter Eisentraut
Дата:
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(-)