Test coverage for contrib/auto_explain

Started by Tom Laneabout 5 years ago1 messageshackers
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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

Attachments:

add-test-for-auto_explain-1.patchtext/x-diff; charset=us-ascii; name=add-test-for-auto_explain-1.patchDownload+58-0