In copy_file, use a palloc'd buffer instead of just a local char array;

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 962a4bb69f1dd70f1212e27ba2de7634cf91a80d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-09-02T18:55:32Z
Releases: 8.1.0
In copy_file, use a palloc'd buffer instead of just a local char array;
a local array isn't guaranteed to have any particular alignment, and
so it could slow down the data transfer.

Files

PathChange+/−
src/port/copydir.c modified +10 −3