Josh Berkus <josh@agliodbs.com> writes:
> ... that is, for some reason, the last log line reported by
> log_temp_files becomes disassociated with the query which was using temp
> space in the first place. Often, that last file is the biggest one, as
> well.
> Is this a fixable bug?
Without a concrete test case, it's hard to say.
regards, tom lane