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