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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Hammond <ahammond(at)ca(dot)afilias(dot)info>
Cc: pgsql-hackers(at)postgreSQL(dot)org, Lamar Owen <lowen(at)pari(dot)edu>
Subject: Re: Idea about fixing the lockfile issues in postgresql.init
Date: 2004-10-04 20:49:37
Message-ID: 2378.1096922977@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Hammond <ahammond(at)ca(dot)afilias(dot)info> 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 for that solution myself if we only intended to support one
postmaster per machine, but in a multi-postmaster situation things get
complicated.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Reini Urban 2004-10-04 21:16:49 cygwin test package available
Previous Message Hannu Krosing 2004-10-04 20:47:37 Re: [HACKERS] OT moving from MS SQL to PostgreSQL