pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: libpq: Remove deprecated connection parameters authtype and tty
Date: Tue, 09 Mar 2021 14:04:27 +0000
Message-ID: <E1lJcyJ-00017z-Po@gemulon.postgresql.org> (raw)

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@yesql.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(-)



Message-ID: <E1lJcyJ-00017z-Po@gemulon.postgresql.org>
Permalink:  ../E1lJcyJ-00017z-Po@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lJcyJ-00017z-Po@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: libpq: Remove deprecated connection parameters authtype and tty
  In-Reply-To: <E1lJcyJ-00017z-Po@gemulon.postgresql.org>
  References: <E1lJcyJ-00017z-Po@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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