[HACKERS] 9.0 beta2 pg_upgrade: malloc 0 bytes patch

2010-06-16 Thread Steve Singer
Running pg_upgrade against an unmodified (the output of initdb) cluster on AIX is giving me pg_alloc: Out of memory errors. On some non-linux platforms (including AIX) malloc(0) returns 0. with the attached patch to pg_upgrade I am now able to get pg_upgrade to convert an 8.3 database

Re: [HACKERS] 9.0 beta2 pg_upgrade: malloc 0 bytes patch

2010-06-16 Thread Bruce Momjian
Steve Singer wrote: Running pg_upgrade against an unmodified (the output of initdb) cluster on AIX is giving me pg_alloc: Out of memory errors. On some non-linux platforms (including AIX) malloc(0) returns 0. with the attached patch to pg_upgrade I am now able to get pg_upgrade to