diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2022-07-30 11:17:07 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2022-07-30 11:17:07 -0400 |
commit | d10fad96c664a503a4203fc4b5acd4e816b0158a (patch) | |
tree | 4e4decc93318ad7f1cc4c3192dfebd4edda580e9 /src/backend/utils/adt/arrayfuncs.c | |
parent | 212bdc0cbc32ae5041bf1cd609f7b7a0c8930fc3 (diff) | |
download | postgresql-d10fad96c664a503a4203fc4b5acd4e816b0158a.tar.gz postgresql-d10fad96c664a503a4203fc4b5acd4e816b0158a.zip |
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
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions