On Mon, Sep 30, 2024 at 10:07:55AM +0900, Michael Paquier wrote: > The first point is just some prevention for the future. The second > case is something we should fix and test. I am attaching a patch that > addresses both. Note that the test case cannot use a transaction > block as query IDs are only reported for the top queries, and we can > do a scan of pg_stat_activity to see if the query ID is set. The > assertion was getting more complicated, so I have hidden that behind a > macro in execMain.c. All that should complete this project.
And done this part. While looking at the interactions between query ID and debug_string, I've bumped into something that could be a fun project for a contributor. Will post that in a bit, that may interest some. -- Michael
signature.asc
Description: PGP signature