pgstattuple locking fix

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-patches(at)postgresql(dot)org
Subject: pgstattuple locking fix
Date: 2007-10-22 02:58:12
Message-ID: 20071022112558.648E.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Here is a trivial fix of locking issue in pgstattuple().
It was locking buffers around PageGetHeapFreeSpace()
in the heap scan loop, but not in the scanning of the tail.
I think we need locks in the tail, too.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center

Attachment Content-Type Size
pgstattuple_lock.patch application/octet-stream 785 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-10-22 03:46:43 Re: pgstattuple locking fix
Previous Message Albert Cervera i Areny 2007-10-21 23:06:17 Contrib docs v1