Re: toast operations while locking a buffer

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: toast operations while locking a buffer
Date: 2000-10-18 16:07:59
Message-ID: 5071.971885279@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp> writes:
> I see heap_tuple_toast_attrs() calls in heapam.c.
> When they are called from heap_update/delete()
> ,a buffer is locked.

Hm. Seems like it would be better to do the tuple toasting before
we lock the target buffer...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-10-18 16:10:04 Re: time stops within transaction
Previous Message Tom Lane 2000-10-18 15:52:35 Re: The lightbulb just went on...