Lamar Owen writes:
> I understand why the socket needs to be in /tmp, but why the lockfile?
The lock file protects the Unix domain socket. Consequently, the name of
the lock file needs to be derivable from the name of the socket file, and
vice versa. Also, the name of the socket file must not vary with other
parameters such as installation layout.
> Lock file cleanup should be the responsibility of the script that starts
> postmaster
The postmaster does that itself. That's why the pid is in there.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/