I'd like to write a Postgres event trigger to capture the name and schema of a table before it is created, using ddl_command_start
. However, it seems like this is only available from pg_event_trigger_ddl_commands()
, which can only be called at ddl_command_end
.
Is there any way to get the table name at ddl_command_start
?