Katsuhiko Okano <[EMAIL PROTECTED]> writes: > Simon Riggs wrote: >> How did you come to choose an xid of this nature?
> specify log_statement = 'all' and log_line_prefix = '[%x]' in postgresql.conf > (I know this approach is not useful and hardly used on actual system > management.) No, it's not very useful because you can't be sure that the order of commit records in the WAL file will match what you see in the postmaster log. If the transactions are sufficiently well spread apart in time that you *can* be sure of that, you might as well use timestamps anyway. The reason for having the XID option in recovery.conf at all is to allow an exact stop point specification when a timestamp is too inaccurate --- but in a situation like that, you'd really have to have grovelled through the WAL file with some kind of dump tool to determine which XID you want to specify. BTW, as of 8.3 commit timestamps have full gettimeofday() precision, they're not just time_t values; so the use-case for stopping by XID is even narrower than it used to be. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings