Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: pgstattuple_lock.patch
Description: application/octet-stream (785 bytes)

Responses

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group