SRF: avoid leaking resources if not run to completion

Edit
ID 2512
Title SRF: avoid leaking resources if not run to completion
Topic Bug Fixes
Created 2020-03-16 15:56:56
Last modified 2020-03-17 01:29:45 (4 years, 8 months ago)
Latest email 2020-03-31 16:41:50 (4 years, 7 months ago)
Status
2020-07: Committed
Target version stable
Authors Justin Pryzby (justinpryzby)
Reviewers Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/2512
git checkout commitfest/cf/2512
Emails
pg11+: pg_ls_*dir LIMIT 1: temporary files .. not closed at end-of-transaction
First at 2020-03-08 17:31:03 by Justin Pryzby <pryzby at telsasoft.com>
Latest at 2020-03-31 16:41:50 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (ignore-concurrent-removals-in-pg_ls_dir_files.patch) at 2020-03-29 16:37:05 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (ignore-concurrent-removals-in-pg_ls_dir_files.patch) at 2020-03-29 16:37:05 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v2-0001-SRF-avoid-leaking-resources-if-not-run-to-complet.patch) at 2020-03-16 15:53:06 from Justin Pryzby <pryzby at telsasoft.com> (Patch: Yes)
    Attachment (0001-SRF-avoid-leaking-resources-if-not-run-to-completion.patch) at 2020-03-12 12:11:56 from Justin Pryzby <pryzby at telsasoft.com> (Patch: Yes)
    Attachment (v1-0001-pg_ls_dir_files-avoid-leaking-DIR-if-not-run-to-c.patch) at 2020-03-11 11:19:21 from Justin Pryzby <pryzby at telsasoft.com> (Patch: Yes)
History
When Who What
2020-03-17 01:29:45 Justin Pryzby (justinpryzby) Closed in commitfest 2020-07 with status: Committed
2020-03-17 01:29:22 Justin Pryzby (justinpryzby) Changed committer to tgl
2020-03-16 15:57:19 Justin Pryzby (justinpryzby) Changed authors to Justin Pryzby (justinpryzby)
2020-03-16 15:57:19 Justin Pryzby (justinpryzby) Changed targetversion to stable
2020-03-16 15:56:56 Justin Pryzby (justinpryzby) Attached mail thread 20200308173103.GC1357@telsasoft.com
2020-03-16 15:56:56 Justin Pryzby (justinpryzby) Created patch record
Edit