In copy_file, use a palloc'd buffer instead of just a local char array;
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/port/copydir.c | modified | +10 −3 |