Jim Nasby wrote: > I'm confused by this: > > "pg_event_trigger_ddl_commands returns one row for each base command > executed; some commands that are a single SQL sentence may return more than > one row." > > What is a "SQL sentence"?
I meant "a single SQL command". The word "sentence" probably just slipped through. Will fix. > (FWIW, I'm wondering because I was just looking to see why there's no > details for things like altering a column in a table.) Do you mean you want to have access to the details of the alter table operations being executed? There's no structured data for that; you need to write a C function to examine the pg_ddl_command opaque column. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers