Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> I propose this patch which echoes the commands to the respective log
> files. I would backpatch this to 9.2.
OK, but the fflush just before fclose seems a bit pointless; fclose
will do that anyway no?
regards, tom lane