On Fri, Apr 23, 2021, at 08:54, Joel Jacobson wrote:
> pg_describe_object            | event trigger ddl_postgrest
> pg_identify_object            | ("event trigger",,ddl_postgrest,ddl_postgrest)
> pg_identify_object_as_address | ("event trigger",{},{})
> 
> I therefore think the evtname should be added to object_names.

Could it possibly be as simple to fix as the attached patch?
Not sure if the the string constructed by appendStringInfo() also needs to be 
adjusted.

With the patch, the example above returns:

pg_identify_object_as_address | ("event trigger",{ddl_postgrest},{})

/Joel

Attachment: fix-pg_identify_object_as_address-for-event-triggers.patch
Description: Binary data

Reply via email to