Thread: pgsql: In copy_file, use a palloc'd buffer instead of just a local char

pgsql: In copy_file, use a palloc'd buffer instead of just a local char

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/port:
        copydir.c (r1.12 -> r1.13)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/copydir.c.diff?r1=1.12&r2=1.13)