pgsql: libpq should expose GSS-related parameters even when not impleme

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: libpq should expose GSS-related parameters even when not impleme
Дата
Msg-id E1iiOyo-0005Vn-Oh@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
libpq should expose GSS-related parameters even when not implemented.

We realized years ago that it's better for libpq to accept all
connection parameters syntactically, even if some are ignored or
restricted due to lack of the feature in a particular build.
However, that lesson from the SSL support was for some reason never
applied to the GSSAPI support.  This is causing various buildfarm
members to have problems with a test case added by commit 6136e94dc,
and it's just a bad idea from a user-experience standpoint anyway,
so fix it.

While at it, fix some places where parameter-related infrastructure
was added with the aid of a dartboard, or perhaps with the aid of
the anti-pattern "add new stuff at the end".  It should be safe
to rearrange the contents of struct pg_conn even in released
branches, since that's private to libpq (and we'd have to move
some fields in some builds to fix this, anyway).

Back-patch to all supported branches.

Discussion: https://postgr.es/m/11297.1576868677@sss.pgh.pa.us

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d09cfa3e2874fb5ca5db046bff574d77e335049a

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 10 +++++-----
contrib/postgres_fdw/sql/postgres_fdw.sql      | 10 +++++-----
doc/src/sgml/libpq.sgml                        |  6 ++++--
src/interfaces/libpq/fe-connect.c              | 18 +++++-------------
src/interfaces/libpq/libpq-int.h               |  9 ++-------
5 files changed, 21 insertions(+), 32 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Superuser can permit passwordless connections onpostgres_fdw
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Adjust test case added by commit 6136e94dc.