pgsql: Harden be-gssapi-common.h for headerscheck

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Harden be-gssapi-common.h for headerscheck
Date: 2021-11-26 20:09:23
Message-ID: E1mqhX9-0000AP-Kc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Harden be-gssapi-common.h for headerscheck

Surround the contents with a test that the feature is enabled by
configure, to silence header checking tools on systems without GSSAPI
installed.

Backpatch to 12, where the file appeared.

Discussion: https://postgr.es/m/202111161709.u3pbx5lxdimt@alvherre.pgsql

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1b1e4bfe7da770ad159c0f4291925a3597a65dbc

Modified Files
--------------
src/include/libpq/be-gssapi-common.h | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2021-11-27 01:55:17 Re: pgsql: xlog.c: Remove global variables ReadRecPtr and EndRecPtr.
Previous Message Peter Geoghegan 2021-11-26 18:59:17 pgsql: Go back to considering HOT on pages marked full.