pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: xsun <xu2002261@163.com>
To: pgsql-admin@postgresql.org
Subject: The function of lock file named ".s.PGSQL.<port>.lock" on Linux?
Date: Tue, 3 Aug 2010 22:46:33 +0800
Message-ID: <i39a41$2huc$1@news.hub.org> (raw)

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.







view thread (6+ messages)  latest in thread

Message-ID: <i39a41$2huc$1@news.hub.org>
Permalink:  ../i39a41$2huc$1@news.hub.org/
Also on:    postgresql.org/message-id/i39a41$2huc$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: xu2002261@163.com
  Subject: Re: The function of lock file named ".s.PGSQL.<port>.lock" on Linux?
  In-Reply-To: <i39a41$2huc$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox