pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: libpq should expose GSS-related parameters even when not impleme
7+ messages / 1 participants
[nested] [flat]

* pgsql: libpq should expose GSS-related parameters even when not impleme
@ 2019-12-20 20:34  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-12-20 20:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5e22a111185ccf5fe1d84b980d947b5427a50e64

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               |  8 ++------
5 files changed, 21 insertions(+), 31 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: libpq should expose GSS-related parameters even when not impleme
@ 2019-12-20 20:34  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-12-20 20:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: libpq should expose GSS-related parameters even when not impleme
@ 2019-12-20 20:34  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-12-20 20:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL9_6_STABLE

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

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               |  8 ++------
5 files changed, 21 insertions(+), 31 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: libpq should expose GSS-related parameters even when not impleme
@ 2019-12-20 20:34  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-12-20 20:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

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

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 12 ++++-----
contrib/postgres_fdw/sql/postgres_fdw.sql      | 10 +++----
doc/src/sgml/libpq.sgml                        |  6 +++--
src/interfaces/libpq/fe-connect.c              | 37 +++++++++-----------------
src/interfaces/libpq/libpq-int.h               | 14 +++-------
5 files changed, 31 insertions(+), 48 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: libpq should expose GSS-related parameters even when not impleme
@ 2019-12-20 20:34  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-12-20 20:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

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

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              | 25 ++++++-------------------
src/interfaces/libpq/libpq-int.h               | 11 +++--------
5 files changed, 23 insertions(+), 39 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: libpq should expose GSS-related parameters even when not impleme
@ 2019-12-20 20:34  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-12-20 20:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/875c7d70def61a725ed94d25859a7d806dd6e747

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               |  8 ++------
5 files changed, 21 insertions(+), 31 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: libpq should expose GSS-related parameters even when not impleme
@ 2019-12-20 20:34  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 7+ messages in thread

From: Tom Lane @ 2019-12-20 20:34 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_11_STABLE

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

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(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2019-12-20 20:34 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-12-20 20:34 pgsql: libpq should expose GSS-related parameters even when not impleme Tom Lane <tgl@sss.pgh.pa.us>
2019-12-20 20:34 pgsql: libpq should expose GSS-related parameters even when not impleme Tom Lane <tgl@sss.pgh.pa.us>
2019-12-20 20:34 pgsql: libpq should expose GSS-related parameters even when not impleme Tom Lane <tgl@sss.pgh.pa.us>
2019-12-20 20:34 pgsql: libpq should expose GSS-related parameters even when not impleme Tom Lane <tgl@sss.pgh.pa.us>
2019-12-20 20:34 pgsql: libpq should expose GSS-related parameters even when not impleme Tom Lane <tgl@sss.pgh.pa.us>
2019-12-20 20:34 pgsql: libpq should expose GSS-related parameters even when not impleme Tom Lane <tgl@sss.pgh.pa.us>
2019-12-20 20:34 pgsql: libpq should expose GSS-related parameters even when not impleme Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox