Re: regarding postmaster.pid file

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "surabhi(dot)ahuja" <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in>, pgsql-general(at)postgresql(dot)org
Subject: Re: regarding postmaster.pid file
Date: 2005-11-25 16:16:37
Message-ID: 87psook8ii.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> "surabhi.ahuja" <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jaime Casanova 2005-11-25 16:30:30 Re: Syntax Error in COPY
Previous Message Tom Lane 2005-11-25 15:28:16 Re: pg_connect troubles on localhost