Re: Get funcid when create function

2018-08-14 Thread
Yes, I had read this document, BUT it's call from PL/PGSQL. I want call it from c function. 2018-08-13 18:57 GMT+08:00 Robert Haas : > On Fri, Aug 10, 2018 at 5:50 AM, 王翔宇 wrote: > > I'm developing a extension for pg. Now I have create a event trigger on > > ddl_comma

Get funcid when create function

2018-08-10 Thread
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 cmd