toast operations while locking a buffer

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: toast operations while locking a buffer
Date: 2000-10-18 09:39:53
Message-ID: 39ED6FE8.335659D@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas SB 2000-10-18 10:03:59 AW: AW: AW: Backup, restore & pg_dump
Previous Message Zeugswetter Andreas SB 2000-10-18 09:16:26 AW: Re: [BUGS] UPPER and LOWER dosen't work correctly o n special caracters (umlauts)