pgsql: libpq: Remove deprecated connection parameters authtype and tty

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: libpq: Remove deprecated connection parameters authtype and tty
Date: 2021-03-09 14:04:27
Message-ID: E1lJcyJ-00017z-Po@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

libpq: Remove deprecated connection parameters authtype and tty

The authtype parameter was deprecated and made inactive in commit
d5bbe2aca55bc8, but the environment variable was left defined and thus
tested with a getenv call even though the value is of no use. Also,
if it would exist it would be copied but never freed as the cleanup
code had been removed.

tty was deprecated in commit cb7fb3ca958ec8bd5a14e7 but most of the
infrastructure around it remained in place.

Author: Daniel Gustafsson <daniel(at)yesql(dot)se>
Discussion: https://postgr.es/m/DDDF36F3-582A-4C02-8598-9B464CC42B34@yesql.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/14d9b37607ad30c3848ea0f2955a78436eff1268

Modified Files
--------------
doc/src/sgml/libpq.sgml | 13 +++++++++----
src/interfaces/libpq/fe-connect.c | 35 +++++------------------------------
src/interfaces/libpq/libpq-int.h | 2 --
src/test/examples/testlibpq4.c | 8 +++-----
4 files changed, 17 insertions(+), 41 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-03-09 15:11:17 Re: pgsql: Remove support for SSL compression
Previous Message Michael Paquier 2021-03-09 12:33:17 Re: pgsql: Remove support for SSL compression