The function of lock file named ".s.PGSQL..lock" on Linux? - Mailing list pgsql-admin

From xsun
Subject The function of lock file named ".s.PGSQL..lock" on Linux?
Date
Msg-id i39a41$2huc$1@news.hub.org
Whole thread Raw
List pgsql-admin
When the psql server is started under Linux platform, in /tmp directory
there is a lock files named ".s.PGSQL.<port>.lock". So I want to know what
is the function of this lock file? And does the server work well without
this lock file?

Additionally, I know that the file ".s.PGSQL.<port>" is used as the unix
domain socket file. But the file ".s.PGSQL.<port>.lock" makes me still
pazzled. Could you explain that? Thanks.


Best wishes.





pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: out of memory error
Next
From: "xsun"
Date:
Subject: The function of lock file named ".s.PGSQL..lock" on Linux?