标签: postgresql event-triggers
我希望使用ddl_command_start编写一个Postgres事件触发器,以便在创建表之前捕获表的名称和架构。但是,似乎只能从pg_event_trigger_ddl_commands()获取,只能在ddl_command_end调用。
ddl_command_start
pg_event_trigger_ddl_commands()
ddl_command_end
有没有办法让表名为ddl_command_start?