On Thu, Jan 20, 2011 at 10:52 AM, Scott Marlowe <scott.marlowe@xxxxxxxxx> wrote: > Followup, note that you can set the log_statement='ddl' for an entire > pg cluster, for a single database, or for a single user, if that > helps. logging ddl does not log dml, or data changes, just structural > changes. also also wik, you can use the log_line_prefix to make it so that you can grep out what you need easier too. #log_line_prefix = '' # special values: # %u = user name # %d = database name # %r = remote host and port # %h = remote host # %p = process ID # %t = timestamp without milliseconds # %m = timestamp with milliseconds # %i = command tag # %c = session ID # %l = session line number # %s = session start timestamp # %v = virtual transaction ID # %x = transaction ID (0 if none) # %q = stop here in non-session # processes # %% = '%' # e.g. '<%u%%%d> ' -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin