Test coverage for contrib/auto_explain

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Test coverage for contrib/auto_explain
Date: 2021-01-23 22:41:32
Message-ID: 1445881.1611441692@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
add-test-for-auto_explain-1.patch text/x-diff 2.2 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2021-01-23 23:40:51 Re: Single transaction in the tablesync worker?
Previous Message Bruce Momjian 2021-01-23 20:16:12 Re: Git, diffs, and patches