Re: Memory use in 8.3 plpgsql with heavy use of xpath() - Mailing list pgsql-general

From Tom Lane
Subject Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Date
Msg-id 18223.1215041377@sss.pgh.pa.us
Whole thread Raw
In response to Re: Memory use in 8.3 plpgsql with heavy use of xpath()  ("Matt Magoffin" <postgresql.org@msqr.us>)
List pgsql-general
"Matt Magoffin" <postgresql.org@msqr.us> writes:
> It looks like xml.c source has changed considerably since 8.3

No, hardly at all actually, but this patch happens to be right next door
to one of the lines that did change.  cstring_to_text() replaces some
grottier stuff that used to be used for the same purpose.

In a few minutes I'm going to verify whether Kris' fix makes the leak go
away for me, and commit to CVS if so.

            regards, tom lane

pgsql-general by date:

Previous
From: "Matt Magoffin"
Date:
Subject: Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Next
From: "Fernando Dominguez"
Date:
Subject: pg_ctl start check sum failed