Обсуждение: pgsql: Suppress various new compiler warnings.

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

pgsql: Suppress various new compiler warnings.

От
Tom Lane
Дата:
Suppress various new compiler warnings.

Compilers that don't understand that elog(ERROR) doesn't return
issued warnings here.  In the cases in libpq_pipeline.c, we were
not exactly helping things by failing to mark pg_fatal() as noreturn.

Per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9fb9691a88ae8df9bc30e0f0f72de7c96e73e125

Modified Files
--------------
src/backend/access/common/detoast.c              | 2 ++
src/backend/access/common/toast_compression.c    | 3 +++
src/include/access/toast_compression.h           | 1 +
src/test/modules/libpq_pipeline/libpq_pipeline.c | 6 ++++--
4 files changed, 10 insertions(+), 2 deletions(-)