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

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: In copy_file, use a palloc'd buffer instead of just a local char
Date
Msg-id 20050902185532.8F416D7E08@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: dpage@pgfoundry.org (User Dpage)
Date:
Subject: pginstaller - pginst: Update all bundled packages, cleanup contrib
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Clean up a couple of ad-hoc computations of the maximum number of