Re: fcntl(F_SETLK)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: fcntl(F_SETLK)
Date: 2000-07-05 16:21:22
Message-ID: 200007051621.MAA07465@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> There's a broken configure test for fcntl(F_SETLK). (Hint: Of course it's
> going to fail if you don't include the header file that defines
> F_SETLK.) Apparently, it's been broken for quite a while so I'm afraid to
> fix it, considering the problems with file locking.
>
> Reading up on TODO.detail/flock, it seems this mechanism is made obsolete
> by the pid file, so I'm inclined to remove it. At least those using Linux
> and Solaris shouldn't feel a difference because the locking code wasn't
> being used for said reasons. :)

I just applied a patch from an IA64 user that fixes that. Seems Tom
Lane thinks protecting multiple postmasters on the same port is still an
issue. Let's hash it out and get it done, maybe.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-07-05 16:30:51 Re: Article on MySQL vs. Postgres
Previous Message Jan Wieck 2000-07-05 16:17:43 pgsql/src/backend/commands (command.c vacuum.c)