Re: Removal of AcceptInvalidationMessages broke things

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: Removal of AcceptInvalidationMessages broke things
Дата
Msg-id
CA+TgmoZzCZNozCzg1n2kQJa8zMu8XL4OfGsTKHqz2PyB2J=qXQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Removal of AcceptInvalidationMessages broke things Tom Lane <tgl@sss.pgh.pa.us>
Re: Removal of AcceptInvalidationMessages broke things Noah Misch <noah@leadboat.com>
Re: Removal of AcceptInvalidationMessages broke things Tom Lane <tgl@sss.pgh.pa.us>
Re: Removal of AcceptInvalidationMessages broke things Robert Haas <robertmhaas@gmail.com>
On Wed, Sep 19, 2012 at 2:17 PM, Noah Misch  wrote:
> Sounds fine for now.  I suspect the better change would be to make
> AcceptInvalidationMessages() unconditional in LockRelationOid() and friends.
> There's no reason to desire recent ACLs only when opening by name.

I agree, on both counts.  I think I failed to realize when doing that
refactoring that I was reducing the number of cases where
AcceptInvalidationMessages() would actually be called.  AFAICS, the
only reason why we have such complicated rules for calling that
function is that it's traditionally been expensive.  But that should
be much less true due now due to improvements in 9.2 (cf commit
b4fbe392f8ff6ff1a66b488eb7197eef9e1770a4).  So we can probably afford
to be a little less byzantine about the way we do this now.

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


В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Robert Haas
Дата:
FAQ