Re: Adding missing object access hook invocations

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: Adding missing object access hook invocations
Дата
Msg-id
20200317184941.bcvtmifmnqm6jplb@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
Adding missing object access hook invocations Mark Dilger <mark.dilger@enterprisedb.com>
Re: Adding missing object access hook invocations Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Adding missing object access hook invocations Mark Dilger <mark.dilger@enterprisedb.com>
Re: Adding missing object access hook invocations Andres Freund <andres@anarazel.de>
Re: Adding missing object access hook invocations Mark Dilger <mark.dilger@enterprisedb.com>
Re: Adding missing object access hook invocations Michael Paquier <michael@paquier.xyz>
Re: Adding missing object access hook invocations Mark Dilger <mark.dilger@enterprisedb.com>
Re: Adding missing object access hook invocations Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Adding missing object access hook invocations Mark Dilger <mark.dilger@enterprisedb.com>
Re: Adding missing object access hook invocations Mark Dilger <mark.dilger@enterprisedb.com>
Re: Adding missing object access hook invocations Michael Paquier <michael@paquier.xyz>
Re: Adding missing object access hook invocations Mark Dilger <mark.dilger@enterprisedb.com>
Re: Adding missing object access hook invocations Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Adding missing object access hook invocations Michael Paquier <michael@paquier.xyz>
Re: Adding missing object access hook invocations Robert Haas <robertmhaas@gmail.com>
Re: Adding missing object access hook invocations Michael Paquier <michael@paquier.xyz>
Re: Adding missing object access hook invocations Michael Paquier <michael@paquier.xyz>
Re: Adding missing object access hook invocations Alvaro Herrera <alvherre@2ndquadrant.com>
Hi,

On 2020-03-16 16:03:51 -0700, Mark Dilger wrote:
> While working on object access hooks, I noticed several locations
> where I would expect the hook to be invoked, but no actual invocation.
> I think this just barely qualifies as a bug.  It's debatable because
> whether it is a bug depends on the user's expectations and whether not
> invoking the hook in these cases is defensible.  Does anybody have any
> recollection of an intentional choice not to invoke in these
> locations?

I am strongly against treating this as a bug, which'd likely imply
backpatching. New hook invocations are a noticable behavioural change,
and very plausibly will break currently working extensions. That's fine
for a major version upgrade, but not for a minor one, unless there are
very good reasons.

Andres



В списке pgsql-hackers по дате отправления
От: Pavel Stehule
Дата:
Сообщение: Re: SQL/JSON: functions
От: Mike Palmiotto
Дата:
FAQ