summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2020-03-16 21:05:29 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2020-03-16 21:05:56 -0400
commitcd6a0518794d939ed6a716c1a13ead2900b11d50 (patch)
treeda66422f31f345c8678e290ed1ab574bf08a9314 /src/backend/access/gist/gistget.c
parent7984c7e9fcd9468007c3ac51ba65f9642ba4dc4b (diff)
Avoid holding a directory FD open across assorted SRF calls.
This extends the fixes made in commit 085b6b667 to other SRFs with the same bug, namely pg_logdir_ls(), pgrowlocks(), pg_timezone_names(), pg_ls_dir(), and pg_tablespace_databases(). Also adjust various comments and documentation to warn against expecting to clean up resources during a ValuePerCall SRF's final call. Back-patch to all supported branches, since these functions were all born broken. Justin Pryzby, with cosmetic tweaks by me Discussion: https://postgr.es/m/20200308173103.GC1357@telsasoft.com
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions