pgsql/src/backend/storage/buffer s_lock.c

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/storage/buffer s_lock.c
Date: 2001-02-24 22:42:45
Message-ID: 200102242242.f1OMgja79512@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/02/24 17:42:45

Modified files:
src/backend/storage/buffer: s_lock.c

Log message:
At least on HPUX, select with delay.tv_sec = 0 and delay.tv_usec = 1000000
does not lead to a one-second delay, but to an immediate EINVAL failure.
This causes CHECKPOINT to crash with s_lock_stuck much too quickly :-(.
Fix by breaking down the requested wait div/mod 1e6.

Browse pgsql-committers by date

  From Date Subject
Next Message Vince Vielhaber 2001-02-25 03:38:09 [WEBMASTER] 'www/html/users-lounge commercial-support.html'
Previous Message Tom Lane 2001-02-24 21:47:08 Re: pgsql/doc/src/sgml syntax.sgml