|From:||Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>|
|To:||Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>|
|Cc:||"pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Kohei KaiGai <kaigai(at)heterodb(dot)com>, Adam Brightwell <adam(dot)brightwell(at)crunchydata(dot)com>|
|Subject:||Re: Adding missing object access hook invocations|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
On 2020-Mar-16, 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?
Hmm, possibly the create-time calls are missing.
I'm surprised about the InvokeObjectDropHook calls though. Doesn't
deleteOneObject already call that? If we have more calls elsewhere,
maybe they are redundant. I think we should only have those for
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
|Next Message||Thomas Munro||2020-03-17 00:19:23||Re: Parallel leader process info in EXPLAIN|
|Previous Message||Laurenz Albe||2020-03-17 00:14:02||Re: Berserk Autovacuum (let's save next Mandrill)|