Re: Simplify event trigger support checking functions

2022-10-11 Thread Peter Eisentraut
On 07.10.22 18:43, Robert Haas wrote: On Fri, Oct 7, 2022 at 8:10 AM Peter Eisentraut wrote: The only drawback in terms of code robustness is that someone adding a new shared object type would have to remember to add it to EventTriggerSupportsObjectType(). This doesn't seem like a good idea t

Re: Simplify event trigger support checking functions

2022-10-07 Thread Robert Haas
On Fri, Oct 7, 2022 at 8:10 AM Peter Eisentraut wrote: > The only drawback in terms of code robustness is that someone adding a > new shared object type would have to remember to add it to > EventTriggerSupportsObjectType(). This doesn't seem like a good idea to me. If the function names give the

Simplify event trigger support checking functions

2022-10-07 Thread Peter Eisentraut
y go around and grep for, say, OBJECT_TABLESPACE and find relevant places to update that way. Thoughts? From 9e6a4f5630378fe20c506de5b23bd9e900e2e7c2 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 7 Oct 2022 13:34:15 +0200 Subject: [PATCH] Simplify event trigger support checking fu