Re: toast operations while locking a buffer - Mailing list pgsql-hackers

From Tom Lane
Subject Re: toast operations while locking a buffer
Date
Msg-id 5071.971885279@sss.pgh.pa.us
Whole thread Raw
In response to toast operations while locking a buffer  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-hackers
Hiroshi Inoue <Inoue@tpf.co.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


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: time stops within transaction
Next
From: Tom Lane
Date:
Subject: Re: time stops within transaction