Re: file-locking and postmaster.pid - Mailing list pgsql-hackers

From Andreas Joseph Krogh
Subject Re: file-locking and postmaster.pid
Date
Msg-id 200605242133.27512.andreak@officenet.no
Whole thread Raw
In response to Re: file-locking and postmaster.pid  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
List pgsql-hackers
On Wednesday 24 May 2006 20:52, Andrej Ricnik-Bay wrote:
> On 5/24/06, Andreas Joseph Krogh <andreak@officenet.no> wrote:
> > > My PG is not started with startup-scripts, but with this command:
> > >
> > > pg_ctl -D $PGDATA -l $PGDIR/log/logfile-`date +%Y-%m-%d`.log start
> >
> > ... and manually after login, ie. not at boot-time.
>
> I'd suggest trying to fix your Linux-install instead of mucking
> about with Postgres, and this really a pgsql-novice question,
> not a -hackers thing.

I'm sorry, can't resist, but this has to be *the* dumbest reply to these sort
of questions. What makes you think it *only* happens when linux freezes(btw,
I suspect my NVIDIA-driver to be the problem on my laptop, not Linux itself).
Still - PG *should* handle that situation too, it's like a power outage. I've
been using Linux exclusively since '96 and PG since 6.5, so I don't consider
myself a novice in neither. Why PG doesn't use locking *is* definitely
a -hackers thing.

--
Andreas Joseph Krogh <andreak@officenet.no>
Senior Software Developer / Manager
gpg public_key: http://dev.officenet.no/~andreak/public_key.asc
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Hoffsveien 17           | know how to do a thing and to watch         |
PO. Box 425 Skøyen      | somebody else doing it wrong, without       |
0213 Oslo               | comment.                                    |
NORWAY                  |                                             |
Phone : +47 22 13 01 00 |                                             |
Direct: +47 22 13 10 03 |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+


pgsql-hackers by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: file-locking and postmaster.pid
Next
From: korry
Date:
Subject: Re: file-locking and postmaster.pid