Add more regression tests for pg_ls_dir()
Michael Paquier <michael@paquier.xyz>
Add more regression tests for pg_ls_dir() This system function was being triggered once in the main regression test suite to check its SRF configuration, and more in other test modules but nothing checked the behavior of the options missing_ok and include_dot_dirs. This commit adds some tests for both options, to avoid mistakes if this code is manipulated in the future. Extracted from a larger patch by the same author, with a few tweaks by me. Author: Justin Pryzby Discussion: https://postgr.es/m/20191227170220.GE12890@telsasoft.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/misc_functions.out | modified | +23 −0 |
| src/test/regress/sql/misc_functions.sql | modified | +8 −0 |
Discussion
- Re: [PATCH v1] pg_ls_tmpdir to show directories 85 messages · 2019-12-27 → 2024-01-22