Re: [8.0.0] out of memory on large UPDATE - Mailing list pgsql-bugs

From Marc G. Fournier
Subject Re: [8.0.0] out of memory on large UPDATE
Date
Msg-id 20050811135329.E1002@ganymede.hub.org
Whole thread Raw
In response to Re: [8.0.0] out of memory on large UPDATE  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [8.0.0] out of memory on large UPDATE  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Thu, 11 Aug 2005, Tom Lane wrote:

> "Marc G. Fournier" <scrappy@postgresql.org> writes:
>> The table contains ~10 million rows:
>
>> # time psql -c "UPDATE xa_url SET url = url;" -U pgsql pareto
>> ERROR:  out of memory
>> DETAIL:  Failed on request of size 32.
>
> If you've got any AFTER UPDATE triggers on that table, you could be
> running out of memory for the pending-triggers list.

Nope, only have a BEFORE UPDATE, or would that be similar except for at
which point it runs out of memory?

Triggers:
     xa_url_domain_b_i_u BEFORE INSERT OR UPDATE ON xa_url FOR EACH ROW EXECUTE PROCEDURE xa_url_domain()

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: BUG #1819: COPY filename rejects Windows format path
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #1800: "unexpected chunk number" during pg_dump