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

From Hiroshi Inoue
Subject toast operations while locking a buffer
Date
Msg-id 39ED6FE8.335659D@tpf.co.jp
Whole thread Raw
Responses Re: toast operations while locking a buffer  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi all

I see heap_tuple_toast_attrs() calls in heapam.c.
When they are called from heap_update/delete()
,a buffer is locked.
OTOH heap_tuple_toast_attrs() calls heap_open(..,
.., RowExclusiveLock). Hmm,try to acquire a
RowExclusiveLock while locking a buffer.
Is there no problem ?

Regards.

Hiroshi Inoue



pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: Re: [BUGS] UPPER and LOWER dosen't work correctly o n special caracters (umlauts)
Next
From: Philip Warner
Date:
Subject: Re: AW: AW: Backup, restore & pg_dump