Allow auto_explain to log to NOTICE - Mailing list pgsql-hackers

From Tom Dunstan
Subject Allow auto_explain to log to NOTICE
Date
Msg-id CAPPfruyZh+snR2AdmutrA0B_caj=yWZkLqxUTZYNjJCaQ_wKQg@mail.gmail.com
Whole thread Raw
Responses Re: Allow auto_explain to log to NOTICE
Re: Allow auto_explain to log to NOTICE
List pgsql-hackers
Hi all

This patch allows a user to configure auto_explain to log to NOTICE instead of the server log. This allows automated testing of application-generated queries to ensure correct plans etc from code that can inspect returned notices but not the server log.

I don't see any tests for auto_explain so haven't added any test cases. Happy to do so if that's deemed necessary.


Cheers

Tom

Attachment

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Oddity in tuple routing for foreign partitions
Next
From: Andres Freund
Date:
Subject: Re: Allow auto_explain to log to NOTICE