diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-18 03:48:49 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-18 03:48:49 +0000 |
commit | 7a969cad2ed6559a7e17d7ce7920f5e59141d765 (patch) | |
tree | add5e8baa81674eb7a9f989ccc089fa2f6e2f1de /src/backend/access/gist | |
parent | d344505d1bbaa543dc6cba1280fffeeab47207d1 (diff) | |
download | postgresql-7a969cad2ed6559a7e17d7ce7920f5e59141d765.tar.gz postgresql-7a969cad2ed6559a7e17d7ce7920f5e59141d765.zip |
Treat EPERM as a non-error case when checking to see if old postmaster
is still alive. This improves our odds of not getting fooled by an
unrelated process when checking a stale lock file. Other checks already
in place, plus one newly added in checkDataDir(), ensure that we cannot
attempt to usurp the place of a postmaster belonging to a different userid,
so there is no need to error out. Add comments indicating the importance
of these other checks.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions