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)
commitfaaf2b623fc57ec8d1d0e3146ae348ed49baccb4
tree3d9db089ba568c00c57eae2e3f8edb1c0d4f2718
parentaac84cdf009c9d0c9d5644985e2e7520e5f3f386
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