Rafael Martinez <r(dot)m(dot)guerrero(at)usit(dot)uio(dot)no> writes:
> I am wondering why the time reported by \timing in psql is not the same
> as the time reported by duration in the log file when log_duration or
> log_min_duration_statement are on?
Network transmission delays, perhaps? psql reports the elapsed time
seen at the client, which is necessarily going to be somewhat more than
the time taken by the server.
regards, tom lane