Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> I was thinking it might be beneficial to be able to defer writing WAL
> until COPY is complete, so heap_sync would either fsync the whole heap
> file or copy the whole file to WAL.
What about indexes?
regards, tom lane