regarding postmaster.pid file - Mailing list pgsql-general

From surabhi.ahuja
Subject regarding postmaster.pid file
Date
Msg-id 967CFC4343BF2A4DAFACD026D33DC85118EC90@jal.iiitb.ac.in
Whole thread Raw
Responses Re: regarding postmaster.pid file  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
 i have a small query.
when i start postmaster the postmaster.pid file is created by default in the PGDATA directory.
but in case that directory gets full.... if i try to restart postmaster ... it fails because there is not enough space to create the postmaster.pid file/
 
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.
 
similarly while shutting down postmaster i would need to specify the location of the postmaster.pid file.
 
Is there a way avaialble for this?
 
Thanks,
regards
Surabhi

pgsql-general by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: regarding the apostrophe character
Next
From: "surabhi.ahuja"
Date:
Subject: postmaster does not come up