pgsql: Adjust new pg_read_file() test cases for more portability.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Adjust new pg_read_file() test cases for more portability.
Дата
Msg-id E1oHoDI-001wbk-Al@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Adjust new pg_read_file() test cases for more portability.

It's allowed for an installation to remove postgresql.auto.conf,
so don't rely on that being present.  Instead probe whether we can
read postmaster.pid.  (If you've removed that, you broke the data
directory's multiple-postmaster interlock, not to mention pg_ctl.)
Per gripe from Michael Paquier.

Discussion: https://postgr.es/m/YuSZTsoBMObyY+vT@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d10fad96c664a503a4203fc4b5acd4e816b0158a

Modified Files
--------------
src/test/regress/expected/misc_functions.out | 14 +++++++-------
src/test/regress/sql/misc_functions.sql      | 10 +++++-----
2 files changed, 12 insertions(+), 12 deletions(-)


В списке pgsql-committers по дате отправления: