Re: authtype parameter in libpq

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: authtype parameter in libpq
Date: 2021-03-03 13:47:38
Message-ID: c3577984-a5c2-f28d-415f-a9838877edd1@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 26.02.21 21:02, Daniel Gustafsson wrote:
> When looking at disallowing SSL compression I found the parameter "authtype"
> which was deprecated in commit d5bbe2aca55bc8 on January 26 1998. While I do
> think there is a case to be made for the backwards compatibility having run its
> course on this one, shouldn't we at least remove the environment variable and
> default compiled fallback for it to save us a getenv call when filling in the
> option defaults?

The argument of avoiding unnecessary getenv() calls is sensible. PGTTY
should get the same treatment.

But I tend to think we should remove them both altogether (modulo ABI
and API preservation).

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2021-03-03 13:50:20 Re: "has_column_privilege()" issue with attnums and non-existent columns
Previous Message David Steele 2021-03-03 13:39:54 Re: 回复:Re: Cache relation sizes?