title: How to get sql query from pg_ddl_command
body: <p>How can I parse the <code>pg_ddl_command</code> field in the <code>pg_event_trigger_ddl_commands</code> function in the scope of ddl command end event trigger in postgres 10+?</p>