Re: [HACKERS] Idea about fixing the lockfile issues in postgresql.init

2004-10-04 Thread Tom Lane
Andrew Hammond <[EMAIL PROTECTED]> writes: > This seems very complicated. Why not simply delete the lock files as an > earlier part of the boot process? Primarily because it's not very reasonable to expect rc.sysinit to know all the places where Postgres data directories might be hiding. I'd push

Re: [HACKERS] Idea about fixing the lockfile issues in postgresql.init

2004-10-04 Thread Andrew Hammond
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This seems very complicated. Why not simply delete the lock files as an earlier part of the boot process? Also, I've done a bunch of work on the init script we use here in production to run multiple backends. It supports the concept of having multiple v

[HACKERS] Idea about fixing the lockfile issues in postgresql.init

2004-09-30 Thread Tom Lane
I've been getting some more flak lately about fixing the RPM-supplied init scripts to avoid the problem where the postmaster fails to start because there's a stale lockfile in the data directory. See for instance https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=134090 but it's hardly the first