The function of lock file named ".s.PGSQL.<port>.lock" on Linux?

From: "xsun" <xu2002261(at)163(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: The function of lock file named ".s.PGSQL.<port>.lock" on Linux?
Date: 2010-08-03 14:39:29
Message-ID: i399mq$28vn$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message xsun 2010-08-03 14:46:33 The function of lock file named ".s.PGSQL.<port>.lock" on Linux?
Previous Message Silvio Brandani 2010-08-03 11:41:50 Re: performance problems on Delete