Josh Berkus <josh(at)agliodbs(dot)com> writes:
> David is going to talk with Joe about doing some special logging for DDL
> operations; if they come out of it with some clean code, would you
> consider a patch that includes an new logging option for "log_ddl" ?
No objection here. We saw a recent request for logging only
data-modifying statements, too (ie, everything but SELECTs).
Might be worth thinking about whether those two cases cover it,
or whether there needs to be some more-general way of choosing
which statements to log according to their type.
regards, tom lane