Re: Memory use in 8.3 plpgsql with heavy use of xpath()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matt Magoffin" <postgresql(dot)org(at)msqr(dot)us>
Cc: "Kris Jurka" <books(at)ejurka(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Date: 2008-07-02 23:29:37
Message-ID: 18223.1215041377@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Matt Magoffin" <postgresql(dot)org(at)msqr(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matt Magoffin 2008-07-02 23:30:08 Re: Memory use in 8.3 plpgsql with heavy use of xpath()
Previous Message Matt Magoffin 2008-07-02 23:19:25 Re: Memory use in 8.3 plpgsql with heavy use of xpath()