From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Herr, Christian" <cherr(at)vt(dot)edu> |
Cc: | "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: postmaster.pid |
Date: | 2014-04-11 13:52:20 |
Message-ID: | 26782.1397224340@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
"Herr, Christian" <cherr(at)vt(dot)edu> writes:
> We have a config-only setup (postgresql.conf exists not in $PGDATA). In postgresql.conf, external_pid_file is set and creates postmaster.pid in $PGDATA. Issuing "pg_ctl start", the contents of postmaster.pid only ever contains one line, the process ID. It never contains any other lines, but according to specs, it's supposed to have 7 lines. Any idea why postmaster.pid is only containing a single line, the process ID and no other lines?
Only the "real" pid file (the one in the data directory) has extra lines.
A file created for external_pid_file contains the PID and nothing more.
If you specified external_pid_file as pointing to the data directory,
then you broke things badly. Do not do that.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Herr, Christian | 2014-04-11 14:02:06 | Re: postmaster.pid |
Previous Message | Herr, Christian | 2014-04-11 12:57:30 | postmaster.pid |