Quoting Paul Tomblin (ptomblin@xcski.com):
> Quoting Tom Lane (tgl@sss.pgh.pa.us):
> > Yes, the postmaster's stderr output. What is your startup script doing
> > with that?
>
> I'm using the one that comes with the 7.1 RPM, (from Lamar Owen) which
> redirects stderr to /dev/null.
I tried starting it with the following arguments:
postmaster -d 5 -D /var/lib/pgsql/data
And with the mounted data dir, I don't get *anything* on stderr except for
the initial environ dump, and I can't connect. But when I do it without
the mounted dir, after the environ dump, I get:
invoking IpcMemoryCreate(size=1236992)
FindExec: searching PATH ...
ValidateBinary: can't stat "/bin/postmaster"
FindExec: found "/usr/bin/postmaster" using PATH
DEBUG: database system was shut down at 2001-05-21 19:31:24 EDT
DEBUG: CheckPoint record at (0, 1808844868)
DEBUG: Redo record at (0, 1808844868); Undo record at (0, 0); Shutdown TRUE
DEBUG: NextTransactionId: 1870223; NextOid: 2060337
DEBUG: database system is in production state
DEBUG: proc_exit(0)
DEBUG: shmem_exit(0)
DEBUG: exit(0)
postmaster: reaping dead processes...
--
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
If the automobile had followed the same development as the computer a
Rolls Royce would today cost $100, get a million miles per gallon and
explode once a year killing everybody inside. - Robert Cringeley (InfoWorld)