Re: Adding support for SSLKEYLOGFILE in the frontend - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Adding support for SSLKEYLOGFILE in the frontend
Date
Msg-id 2D123C72-0E49-4AE2-9E55-247AD95BA0DB@yesql.se
Whole thread Raw
In response to Re: Adding support for SSLKEYLOGFILE in the frontend  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Adding support for SSLKEYLOGFILE in the frontend
Re: Adding support for SSLKEYLOGFILE in the frontend
Re: Adding support for SSLKEYLOGFILE in the frontend
List pgsql-hackers

> On 13 Mar 2025, at 19:31, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> Jacob Champion <jacob.champion@enterprisedb.com> writes:
>> Adding the PG prefix to the envvar name addresses my collision
>> concern, but I think Tom's comment upthread [1] was saying that we
>> should not provide any envvar at all:
> 
>>> I think it might be safer if we only accepted it as a connection
>>> parameter and not via an environment variable.
> 
>> Is the addition of the PG prefix enough to address that concern too?
> 
> Indeed, I was advocating for *no* environment variable.  The PG prefix
> does not comfort me.

Attached is a rebased version which fixes the test failure under autoconf (I
had missed git adding the configure file..) and Windows where the backslashes
weren't escaped properly.  It also removes the environment variable and has
documentation touchups.

--
Daniel Gustafsson


Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Query ID Calculation Fix for DISTINCT / ORDER BY and LIMIT / OFFSET
Next
From: Thomas Munro
Date:
Subject: Re: md.c vs elog.c vs smgrreleaseall() in barrier