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

From Tom Lane
Subject Re: What happens if the socket lock file is deleted?
Date
Msg-id 1266796.1769719081@sss.pgh.pa.us
Whole thread Raw
In response to What happens if the socket lock file is deleted?  ("stevej@stevej.name" <stevej@stevej.name>)
List pgsql-general
"stevej@stevej.name" <stevej@stevej.name> writes:
> Does PostgreSQL periodically touch the lock file so it won’t be
> deleted?

Yes.

> Alternatively, does PostgreSQL simply re-create the lock file if it
> has been deleted?

No.  The risk you take in that situation is that if you try to start
another postmaster, it might not realize the socket is already in use.

            regards, tom lane



pgsql-general by date:

Previous
From: "stevej@stevej.name"
Date:
Subject: What happens if the socket lock file is deleted?
Next
From: Adrian Klaver
Date:
Subject: Re: What happens if the socket lock file is deleted?