Re: ORM, XPath, and pgxml_dom segfaulting

From: "John Gray" <jgray(at)azuli(dot)co(dot)uk>
To: simen(at)lunarlounge(dot)org (Simen Brekken)
Subject: Re: ORM, XPath, and pgxml_dom segfaulting
Date: 2004-01-21 22:58:42
Message-ID: bun0g0$t8a$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 20 Jan 2004 01:07:00 +0000, Simen Brekken wrote:

> Hi,
>
> I'm currently running 7.3.4 on Debian/testing, I've been trying to get
> pgxml_dom working but after doing some normal tests I find that it
> segfaults the postmaster whenever it hits an error, is this because
> the contrib module isn't maintained beyond alpha stage or doesn't it
> simply handle anything but completely well-formed documents without
> entities etc? Are there any alternatives to this module?
>

There is a new version - which I hope to release within a few weeks.
In answer to your questions - one of the bugs with the old version
related to a memory leak when entities appeared. Also, although it
shouldn't segfault, all the XPath support assumes that your documents
are well-formed, so you'll just get NULL returned in many cases if the
documents aren't well-formed.

Regards

John
--

Browse pgsql-general by date

  From Date Subject
Next Message Kragen Sitaker 2004-01-21 23:19:08 varchar_pattern_ops in 7.3.4?
Previous Message Gavin M. Roy 2004-01-21 22:50:20 Re: SCO Extortion