pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Smith <greg@2ndquadrant.com>
To: xsun <xu2002261@163.com>
To: pgsql-admin@postgresql.org
Subject: Re: The function of lock file named ".s.PGSQL.<port>.lock" on Linux?
Date: Thu, 26 Aug 2010 18:01:15 -0400
Message-ID: <609.1282860075@sss.pgh.pa.us> (raw)
In-Reply-To: <23168.1281488995@sss.pgh.pa.us>
References: <i399mq$28vn$1@news.hub.org>
	<16464.1281026474@sss.pgh.pa.us>
	<4C61F3FF.1080303@2ndquadrant.com>
	<23168.1281488995@sss.pgh.pa.us>

Greg Smith <greg@2ndquadrant.com> writes:
>> It looks to me like the fact that the .lock file is created is only 
>> documented in src/backend/utils/init/miscinit.c , and even there the 
>> reason why (what you wrote above) isn't mentioned.  Seems like noting 
>> this file is created in the unix_socket_directory entry of the docs, and 
>> the rationale for why in the source code, would make a useful 
>> improvement.  Anybody want to write a little documentation patch?

Done.

			regards, tom lane



view thread (6+ messages)

Message-ID: <609.1282860075@sss.pgh.pa.us>
Permalink:  ../609.1282860075@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/609.1282860075@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, greg@2ndquadrant.com, xu2002261@163.com
  Subject: Re: The function of lock file named ".s.PGSQL.<port>.lock" on Linux?
  In-Reply-To: <609.1282860075@sss.pgh.pa.us>

* 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