Re: regarding postmaster.pid file - Mailing list pgsql-general

From Greg Stark
Subject Re: regarding postmaster.pid file
Date
Msg-id 87psook8ii.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: regarding postmaster.pid file  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: regarding postmaster.pid file  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> "surabhi.ahuja" <surabhi.ahuja@iiitb.ac.in> writes:
> > My question is that
> > while starting postmaster is there an option to specify the location of =
> > postmaster.pid file ..
> > i was thinking if i can keep the postmaster.pid file in a separate =
> > folder ..because that folder rarely gets full.
>
> You do realize that postmaster.pid only takes 100 or so bytes?  If you
> are out of space on the database partition, moving the pid file would
> *not* help measurably.

I think he's thinking the other way around. If the file system does fill up he
wants postgres to still be able to start up.

--
greg

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_connect troubles on localhost
Next
From: Együd Csaba
Date:
Subject: Syntax Error in COPY