Re: Get funcid when create function

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Get funcid when create function
Дата
Msg-id CA+TgmoatBM0WuOKTeRsdZPMxZnWyAWM-kmFT5VCNMtbKzCShtw@mail.gmail.com
обсуждение исходный текст
Ответ на Get funcid when create function  (王翔宇 <wxyucs@gmail.com>)
Ответы Re: Get funcid when create function
Список pgsql-hackers
On Fri, Aug 10, 2018 at 5:50 AM, 王翔宇 <wxyucs@gmail.com> wrote:
> I'm developing a extension for pg. Now I have create a event trigger on
> ddl_command_end, and this function will be called after I enter create
> function statement. In this function I can only get parseTree. In pg source
> code, I found a function named "pg_event_trigger_ddl_commands" seems provide
> cmds which include funcid. BUT I didn't found any example to call this
> function.
> who can helps?

Maybe it would help to read the documentation on that function:

https://www.postgresql.org/docs/current/static/functions-event-triggers.html

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [HACKERS] possible self-deadlock window after badProcessStartupPacket
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: Expression errors with "FOR UPDATE" and postgres_fdw with partitionwise join enabled.