Re: pgsql: Add checks to TRUNCATE, CLUSTER, and REINDEX to prevent - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql: Add checks to TRUNCATE, CLUSTER, and REINDEX to prevent
Date
Msg-id 200802010241.m112f1r04410@momjian.us
Whole thread Raw
In response to Re: pgsql: Add checks to TRUNCATE, CLUSTER, and REINDEX to prevent  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-committers
Gregory Stark wrote:
> "Bruce Momjian" <bruce@momjian.us> writes:
>
> >     * Improve deadlock detection when deleting items from shared buffers
> >...
> > Let me know if there is better wording.
>
> I'm not sure whhere deleting items from shared buffers enters into it.
>
> I think you need something like:
>
> Add deadlock detection when a process holding a buffer pin is blocked by a
> lock held by a process attempting to LockBufferForCleanup() on that buffer or
> more complex versions thereof. (And without adding unacceptable overhead to
> pin/unpin.)

Text updated:

    * Improve deadlock detection when a page cleaning lock conflicts
      with a shared buffer that is pinned

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Update item: < * Improve deadlock detection when deleting items
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Update FAQ for most recent release as 8.3.