In pg_upgrade, fix a few place that used maloc/free rather than
pg_malloc/pg_free.
Branch
--
master
Details
---
http://git.postgresql.org/pg/commitdiff/16e1ae77f9eb64ba7d292fd5f71e289a0fcaa854
Modified Files
--
contrib/pg_upgrade/check.c |2 +-
contrib/pg_upgrade/file.c |
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 ++-