Re: Logging query parmeters in auto_explain - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Logging query parmeters in auto_explain
Date
Msg-id YruaLdkyEgu6L5ML@paquier.xyz
Whole thread Raw
In response to Re: Logging query parmeters in auto_explain  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Responses Re: Logging query parmeters in auto_explain  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Tue, Jun 28, 2022 at 10:12:18AM +0100, Dagfinn Ilmari Mannsåker wrote:
> That makes sense, but I still think the query_log() function definition
> should go at the end (after done_testing()), so the machinery doesn't
> distract from what's actually being tested.

The majority of TAP scripts have their subroutines at the beginning of
the script, and there are few having that at the end.  I won't fight
you on that, but the former is more consistent.

> Also, the second paragraph of the second commit message now belongs in
> the first commit (without the word "Also").

Yep, will fix.  I usually rewrite commit messages before merging them.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: "Jonathan S. Katz"
Date:
Subject: PostgreSQL 15 beta 2 release announcement draft
Next
From: Peter Geoghegan
Date:
Subject: Re: First draft of the PG 15 release notes