In copy_file, use a palloc'd buffer instead of just a local char array;
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Sep 2005 18:55:32 +0000 (18:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Sep 2005 18:55:32 +0000 (18:55 +0000)
commit962a4bb69f1dd70f1212e27ba2de7634cf91a80d
tree3a0c971ccaa2c8af8eccb6cce765a0c647a149b5
parentfad7e8edac3348ea14aca379e7b3b2d713746cd3
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.
src/port/copydir.c