Re: pg_upgrade: out of memory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Carrington, Matthew (Produban)" <Matthew(dot)Carrington(at)produban(dot)co(dot)uk>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_upgrade: out of memory
Date: 2012-09-28 15:12:11
Message-ID: 23274.1348845131@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Carrington, Matthew (Produban)" <Matthew(dot)Carrington(at)produban(dot)co(dot)uk> writes:
> Reading symbols from /ukmetmon/data/dataCollection/postgres_9.2.1/bin/pg_dump...(no debugging symbols found)...done.

... hm, not sure why that didn't work, but anyway:

> (gdb) bt
> #0 0x000000010002e354 in exit_horribly ()
> #1 0x000000010003243c in pg_malloc ()
> #2 0x0000000100008f14 in getAggregates ()
> #3 0x000000010002fcac in getSchemaData ()
> #4 0x0000000100001330 in main ()

getAggregates() doesn't do that much. Can we see the results of the
query it would have been executing, namely

SELECT tableoid, oid, proname AS aggname,
pronamespace AS aggnamespace,
pronargs, proargtypes,
(SELECT rolname FROM pg_catalog.pg_roles WHERE oid = proowner) AS rolname,
proacl AS aggacl
FROM pg_proc p
WHERE proisagg AND (
pronamespace !=
(SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog')
OR EXISTS(SELECT 1 FROM pg_depend WHERE
classid = 'pg_proc'::regclass AND
objid = p.oid AND
refclassid = 'pg_extension'::regclass AND
deptype = 'e'));

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message big stone 2012-09-28 22:03:08 a "dancing links" sudoku algorithm implemented in "pure" sql
Previous Message Carrington, Matthew (Produban) 2012-09-28 14:58:09 Re: pg_upgrade: out of memory