Re: [HACKERS] Leftover invalidation handling in RemoveRelations

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] Leftover invalidation handling in RemoveRelations
Дата
Msg-id 20170315185126.lvfo3td3df6bmhes@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] Leftover invalidation handling in RemoveRelations  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

On 2017-03-15 14:46:22 -0400, Robert Haas wrote:
> On Wed, Mar 15, 2017 at 2:40 PM, Andres Freund <andres@anarazel.de> wrote:
> Yeah, I don't think that would hurt anything.
> 
> (I'm not sure it'll help anything either - the overhead of an extra
> AcceptInvalidationMessages() call is quite minimal - but, as you say,
> maybe it's worth doing just to discourage future code authors from
> including unnecessary fluff.)

I don't think there's an actual runtime advantage either - but it's
indeed confusing for others, because it doesn't square with what's
needed.  It's not like the AcceptInvalidationMessages() would actually
make things race-free if used without RangeVarGetRelidExtended()...

- Andres



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Leftover invalidation handling in RemoveRelations
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Partition-wise join for join between (declaratively)partitioned tables