pgsql: In pg_upgrade, simplify function copy_file() by using pg_malloc( - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: In pg_upgrade, simplify function copy_file() by using pg_malloc(
Date
Msg-id E1TcT3k-0002my-QE@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
In pg_upgrade, simplify function copy_file() by using pg_malloc() and
centralizing error/shutdown code.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6b711cf37c228749b6a8cef50e16e3c587d18dd4

Modified Files
--------------
contrib/pg_upgrade/file.c |   54 ++++++++++----------------------------------
1 files changed, 13 insertions(+), 41 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade, fix a few place that used maloc/free rather than
Next
From: Tom Lane
Date:
Subject: pgsql: Fix SELECT DISTINCT with index-optimized MIN/MAX on inheritance