| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Steve Singer <ssinger(at)ca(dot)afilias(dot)info> |
| Cc: | PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: 9.0 beta2 pg_upgrade: malloc 0 bytes patch |
| Date: | 2010-06-16 19:44:11 |
| Message-ID: | 201006161944.o5GJiBF13466@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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
> convert an 8.3 database consisting of a single table to 9.0 on an AIX
> server.
Great, thanks for your testing. I have applied a modified version of
the patch, attached.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ None of us is going to be here forever. +
| Attachment | Content-Type | Size |
|---|---|---|
| /rtmp/diff | text/x-diff | 1.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2010-06-16 19:47:11 | streaming replication breaks horribly if master crashes |
| Previous Message | Florian Pflug | 2010-06-16 18:58:55 | Re: Patch to show individual statement latencies in pgbench output |