Re: Log message for GSS connection is missing once connection authorization is successful. - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Log message for GSS connection is missing once connection authorization is successful.
Date
Msg-id YFXcq2vBTDGQVBNC@paquier.xyz
Whole thread Raw
In response to Re: Log message for GSS connection is missing once connection authorization is successful.  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Log message for GSS connection is missing once connection authorization is successful.
Re: Log message for GSS connection is missing once connection authorization is successful.
List pgsql-hackers
On Sat, Mar 20, 2021 at 05:37:47PM +0900, Michael Paquier wrote:
> It seems to me that this would make the tests faster, that the test
> would not need to wait for the logging collector and that the code
> could just use slurp_file($node->logfile) to get the data it wants to
> check for a given pattern without looking at current_logfiles.  I also
> think that not using truncate() on the logfile generated has the
> disadvantage to make the code fuzzy for its verification once we
> introduce patterns close to each other, as there could easily be an
> overlap.  That's one problem that SQL pattern checks had to deal with
> in the past.  Thoughts?

And, in terms of code, this really simplifies things.  Please see the
attached that I would like to apply.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: [HACKERS] Custom compression methods
Next
From: Amit Langote
Date:
Subject: Re: simplifying foreign key/RI checks