aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-03-18 03:49:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-03-18 03:49:19 +0000
commitbcfe5088e5deb98a3b919612b8c102860d5de0bf (patch)
tree5980335cb0f035362792c0843533bc534a655760 /src/interfaces/ecpg/ecpglib/execute.c
parent7911e3a081ecebc116501da46806e32fa1a1c40a (diff)
downloadpostgresql-bcfe5088e5deb98a3b919612b8c102860d5de0bf.tar.gz
postgresql-bcfe5088e5deb98a3b919612b8c102860d5de0bf.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/interfaces/ecpg/ecpglib/execute.c')
0 files changed, 0 insertions, 0 deletions