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.