Re: pid gets overwritten in OSX

From: Francois Suter <dba(at)paragraf(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pid gets overwritten in OSX
Date: 2002-04-29 15:05:27
Message-ID: v04210106b8f30f6cb65a@[192.168.1.34]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

>The real problem is that the old postmaster was evidently not allowed
>to shut down cleanly (else it'd have removed its lockfile). How are
>you powering down the system, anyway?

I'm shutting down normally (ok, I mean most of the time I press the
power-up button and choose "Shut down" rather than going via the
Apple menu). I haven't had a system crash in ages! The only
difference I can see (and I would have to test if it makes any
difference) is that sometimes I'm working stand-alone at home and
sometimes on the network in my office (I'm using a PowerBook G4), but
I'm pretty sure I don't have this problem popping up everytime I go
back to the office after having used my machine at home.

Maybe there's some operation missing at shutdown. I installed
PostgreSQL using Mark Liyanage's package. Could there be something
missing? Is Postgres taking care of the removal of the postmaster.pid
file or do you have to do it yourself in some shutdown script?

Best regards.

--------
François

Home page: http://www.monpetitcoin.com/
"A fox is a wolf who sends flowers"

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-04-29 15:25:11 Re: pid gets overwritten in OSX
Previous Message Fran Fabrizio 2002-04-29 14:58:28 Re: What popular, large commercial websites run PostgreSQL?

Browse pgsql-hackers by date

  From Date Subject
Next Message Scott Marlowe 2002-04-29 15:09:54 Re: Vote totals for SET in aborted transaction
Previous Message Tom Lane 2002-04-29 14:39:34 Re: MetaData (size of datatype)