Re: pgsql: Cache by-reference missing values in a long lived context

2023-08-26 Thread Tom Lane
Alvaro Herrera writes: > On 2023-Aug-25, Tom Lane wrote: >> ... Were we relying on "{ 0 }" >> anywhere else pre-v12? > We have a few occurrences of {0} in initializations in pg11, so it > should work. Ah, indeed. Objection withdrawn then. regards, tom lane

Re: pgsql: Cache by-reference missing values in a long lived context

2023-08-26 Thread Alvaro Herrera
On 2023-Aug-25, Tom Lane wrote: > Another point that I wasn't thinking of yesterday is that 11 is > still expected to compile on pre-C99 compilers. I'm not sure > to what extent we are still able to test that -- my old animals > have all gone to buildfarm heaven, although I see that Noah's > AIX

pgsql: Generate new LOG for "trust" connections under log_connections

2023-08-26 Thread Michael Paquier
Generate new LOG for "trust" connections under log_connections Adding an extra LOG for connections that have not set an authn ID, like when the "trust" authentication method is used, is useful for audit purposes. A couple of TAP tests for SSL and authentication need to be tweaked to adapt to this