1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-15 19:15:29 +03:00
Tom Lane 2a89455aad 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
2020-03-16 21:05:53 -04:00
..
2019-01-02 12:44:25 -05:00
2019-08-25 14:46:29 +12:00
2020-02-10 13:15:42 +01:00
2019-05-22 13:04:48 -04:00
2019-01-02 12:44:25 -05:00
2018-03-30 17:33:04 -07:00
2019-09-29 23:57:17 +02:00