Re: authtype parameter in libpq

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: authtype parameter in libpq
Date: 2021-03-08 09:57:56
Message-ID: ff28e8af-e747-1627-36d8-4415f3c58f22@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 04.03.21 16:06, Daniel Gustafsson wrote:
> authtype is completely dead in terms of reading back the value, to the point of
> it being a memleak if it indeed was found in as an environment variable.
>
>> But I tend to think we should remove them both altogether (modulo ABI and API preservation).
>
> No disagreement from me, the attached takes a stab at that to get an idea what
> it would look like. PQtty is left to maintain API stability but the parameters
> are removed from the conn object as thats internal to libpq.

This looks like this right idea to me.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2021-03-08 10:02:39 Re: [HACKERS] Custom compression methods
Previous Message Peter Eisentraut 2021-03-08 09:20:18 Re: macOS SIP, next try