On 6 March 2012 16:11, Thom Brown <thom@linux.com> wrote:
> On 6 March 2012 16:04, Adrian Klaver <adrian.klaver@gmail.com> wrote:
>> The postmaster.pid is located outside the data directory, but points back to the
>> data directory. Not sure where Debian, though at a guess somewhere in /var.
>> Any way search for postmaster.pid.
>
> I'm not sure, because if I use a new data directory, initdb it and
> start the service, the postmaster.pid appears in it, and not as a
> symbolic link.
>
> I did a search for postmaster.pid in the whole of /var and it only
> shows up "/var/lib/postgresql/9.1/main/postmaster.pid"
Correction, this is Ubuntu, not Debian. 11.10 if it's of any consequence.
The file system is ext4 with
rw,noatime,nodiratime,errors=remount-ro,commit=0 on a Crucial m4 SSD.
ecryptfs is in use in the parent directory.
--
Thom