Re: file-locking and postmaster.pid

From: korry <korry(at)appx(dot)com>
To: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: file-locking and postmaster.pid
Date: 2006-05-24 19:03:46
Message-ID: 1148497426.21335.46.camel@sakai.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I'm sure there's a good reason for having it the way it is, having so many
> smart knowledgeable people working on this project. Could someone please
> explain the rationale of the current solution to me?

We've ignored Andreas' original question. Why not use a lock to
indicate that the postmaster is still running? At first blush, that
seems more reliable than checking for a (possibly recycled) process ID.

-- Korry

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Jawed 2006-05-24 19:04:30 Re: Improving ALTER TYPE support
Previous Message Josh Berkus 2006-05-24 18:54:06 Re: Further reduction of bufmgr lock contention