What happens if the socket lock file is deleted? - Mailing list pgsql-general

From stevej@stevej.name
Subject What happens if the socket lock file is deleted?
Date
Msg-id FA028C3B-70E0-4185-B581-72EDC1FB6847@stevej.name
Whole thread Raw
Responses Re: What happens if the socket lock file is deleted?
Re: What happens if the socket lock file is deleted?
Re: What happens if the socket lock file is deleted?
List pgsql-general
In software I have developed separately, I have noticed that most systems will periodically delete files within the
temporarydirectory hierarchy that have not been accessed recently, and that includes lock files for long running
processes.I have never noticed the lock file associated with a postgreSQL socket be missing though. 

Does PostgreSQL periodically touch the lock file so it won’t be deleted? Alternatively, does PostgreSQL simply
re-createthe lock file if it has been deleted? I know the documentation says to never “manually”’delete one of those
lockfiles. 


pgsql-general by date:

Previous
From: PetSerAl
Date:
Subject: Re: About backups
Next
From: Tom Lane
Date:
Subject: Re: What happens if the socket lock file is deleted?