Test coverage for contrib/auto_explain

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Date: 2021-01-23T22:41:32Z
Lists: pgsql-hackers

Attachments

I got annoyed about the lack of $SUBJECT.  The attached patch
adds a simple test case, bringing the module's coverage to 84%
according to my results.  (The uncovered lines mostly are in
_PG_fini(), which is unreachable, or else to do with chaining
to additional occupiers of the same hooks.)

Any objections?

			regards, tom lane

Commits

  1. Add a simple test for contrib/auto_explain.