Followup, note that you can set the log_statement='ddl' for an entirepg cluster, for a single database, or for a single user, if thathelps. logging ddl does not log dml, or data changes, just structuralchanges.