Re: doc issues in event-trigger-matrix.html - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: doc issues in event-trigger-matrix.html
Date
Msg-id 0C0F3257-4DD5-461D-8C23-CA735D301C94@yesql.se
Whole thread Raw
In response to Re: doc issues in event-trigger-matrix.html  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
> On 21 Mar 2024, at 22:47, Peter Eisentraut <peter@eisentraut.org> wrote:
>
> On 19.03.24 10:34, Daniel Gustafsson wrote:
>>>> "Only for local objects"
>>>> is there any reference explaining "local objects"?
>>>> I think local object means objects that only affect one single database?
>> That's a bigger problem than the table representation, we never define what
>> "local object" mean anywhere in the EVT docs.  EV's are global for a database,
>> but not a cluster, so I assume what this means is that EVs for non-DDL commands
>> like COMMENT can only fire for a specific relation they are attached to and not
>> database wide?
>
> I think we could replace this whole table by a few definitions:

Simply extending the "Overview of Event Trigger Behavior" section slightly
might even be enough?

> If tomorrow someone changes ... will they remember to update this table?

Highly unlikely.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Refactoring of pg_resetwal/t/001_basic.pl
Next
From: Peter Eisentraut
Date:
Subject: Re: Adding comments to help understand psql hidden queries