pgsql: Make LockDatabaseObject() AcceptInvalidationMessages().

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make LockDatabaseObject() AcceptInvalidationMessages().
Date: 2010-08-16 02:02:28
Message-ID: 20100816020228.865337541D7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Make LockDatabaseObject() AcceptInvalidationMessages().

This is appropriate for the same reasons we already do it in
LockSharedObject(): things might have changed while we were waiting
for the lock. There doesn't seem to be a live bug here at the moment,
but that's mostly because it isn't currently used for very much.

Modified Files:
--------------
pgsql/src/backend/storage/lmgr:
lmgr.c (r1.100 -> r1.101)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/lmgr/lmgr.c?r1=1.100&r2=1.101)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Greg Smith 2010-08-16 07:28:47 Re: Re: [COMMITTERS] pgsql: Recognize functional dependency on primary keys.
Previous Message Tom Lane 2010-08-16 00:07:01 pgsql: Fix psql's copy of utf2ucs() to match the backend's copy exactly;