LockDatabaseObject vs. LockSharedObject

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: LockDatabaseObject vs. LockSharedObject
Date: 2010-08-06 02:11:20
Message-ID: AANLkTinBv9oULC+myfXbTy42fmoZWWVA7z+1EX06i+9=@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

It seems suspicious to me that LockSharedObject() calls
AcceptInvalidationMessges() and LockDatabaseObject() does not. Since
the only caller of LockSharedObject() at present is
AcquireDeletionLock(), I'm not sure there's an observable bug here at
the moment, but then again, I'm also not sure there isn't.

The call in LockSharedObject() was added here:

http://archives.postgresql.org/pgsql-committers/2006-05/msg00026.php

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2010-08-06 02:29:10 Re: [PATCH] Re: Adding xpath_exists function
Previous Message Boxuan Zhai 2010-08-06 01:39:40 Re: MERGE Specification