ensure get_database_list() switches back to the memory context in use upon entry rather than returning with TopMemoryContext as the context.

Edit
Title ensure get_database_list() switches back to the memory context in use upon entry rather than returning with TopMemoryContext as the context.
Topic Bug Fixes
Created 2022-08-31 16:17:23
Last modified 2022-09-01 19:36:55 (1 year, 8 months ago)
Latest email 2022-09-01 00:35:05 (1 year, 8 months ago)
Status
2022-09: Committed
Target version
Authors
Reviewers Become reviewer
Committer Tom Lane (tgl)
Links
Emails
Bug fix. autovacuum.c do_worker_start() associates memory allocations with TopMemoryContext rather than 'Autovacuum start worker (tmp)'
First at 2022-08-31 16:10:26 by Reid Thompson <reid.thompson at crunchydata.com>
Latest at 2022-09-01 00:35:05 by Michael Paquier <michael at paquier.xyz>
Latest attachment (001-dev-get-dblist-memorycontext.patch) at 2022-08-31 16:10:26 from Reid Thompson <reid.thompson at crunchydata.com>
    Attachment (001-dev-get-dblist-memorycontext.patch) at 2022-08-31 16:10:26 from Reid Thompson <reid.thompson at crunchydata.com> (Patch: Yes)
History
When Who What
2022-09-01 19:36:55 Tom Lane (tgl) Closed in commitfest 2022-09 with status: Committed
2022-09-01 19:36:55 Tom Lane (tgl) Changed committer to tgl
2022-08-31 16:18:05 Reid Thompson (jreidthompson) Changed name to ensure get_database_list() switches back to the memory context in use upon entry rather than returning with TopMemoryContext as the context.
2022-08-31 16:17:24 Reid Thompson (jreidthompson) Attached mail thread 972a4e12b68b0f96db514777a150ceef7dcd2e0f.camel@crunchydata.com
2022-08-31 16:17:23 Reid Thompson (jreidthompson) Created patch record
Edit