[PATCH] Re: pg_identify_object_as_address() doesn't support pg_event_trigger oids

Поиск
Список
Период
Сортировка
От Joel Jacobson
Тема [PATCH] Re: pg_identify_object_as_address() doesn't support pg_event_trigger oids
Дата
Msg-id cd7130ae-86fc-4bef-ba10-4abca1af6423@www.fastmail.com
обсуждение исходный текст
Ответ на Re: pg_identify_object_as_address() doesn't support pg_event_trigger oids  ("Joel Jacobson" <joel@compiler.org>)
Ответы Re: [PATCH] Re: pg_identify_object_as_address() doesn't support pg_event_trigger oids
Список pgsql-hackers
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
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: wal stats questions
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: truncating timestamps on arbitrary intervals