postgres/contrib/pgrowlocks
Tom Lane 819d552574 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:54 -04:00
..
Makefile Update pgrowlocks extension for parallel query. 2016-06-09 17:35:53 -04:00
pgrowlocks--1.0--1.1.sql Fix typo in update scripts for some contrib modules. 2013-07-19 04:13:01 +09:00
pgrowlocks--1.1--1.2.sql Update pgrowlocks extension for parallel query. 2016-06-09 17:35:53 -04:00
pgrowlocks--1.2.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
pgrowlocks--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
pgrowlocks.c Avoid holding a directory FD open across assorted SRF calls. 2020-03-16 21:05:54 -04:00
pgrowlocks.control Update pgrowlocks extension for parallel query. 2016-06-09 17:35:53 -04:00