Re: remove contrib/xml2

From: M Z <jm80008(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: remove contrib/xml2
Date: 2010-02-06 19:08:24
Message-ID: e824728e1002061108s126215e2v124cef36ad703aa5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The thing is, why it doesn't crash on 8.3.8 but crash on 8.4.2? Any idea? A
patch was applied to 8.3 but not to 8.4.2?

Thanks,
M Z

On Fri, Feb 5, 2010 at 1:45 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Wed, Feb 3, 2010 at 8:49 AM, Alvaro Herrera
> <alvherre(at)commandprompt(dot)com> wrote:
> > Robert Haas escribió:
> >> On Mon, Feb 1, 2010 at 5:23 PM, Andrew Dunstan <andrew(at)dunslane(dot)net>
> wrote:
> >> > Robert Haas wrote:
> >> >> (2) add a very, very large warning that this will crash if you do
> >> >> almost anything with it.
> >> >
> >> > I think that's an exaggeration. Certain people are known to be using
> it
> >> > quite successfully.
> >>
> >> Hmm. Well, all I know is that the first thing I tried crashed the
> server.
> >>
> >> CREATE TABLE xpath_test (id integer NOT NULL, t xml);
> >> INSERT INTO xpath_test VALUES (1, '<doc><int>1</int></doc>');
> >> SELECT * FROM xpath_table('id', 't', 'xpath_test', '/doc/int', 'true')
> >> as t(id int4);
> >
> > This trivial patch lingering on my system fixes this crasher (this is
> > for the 8.3 branch). It makes the "problem in alloc set ExprContext"
> > warning show up instead.
> >
> > There are still lotsa other holes, but hey, this is a start ...
>
> Interestingly M Z found he couldn't reproduce this crash on 8.3. Can
> you? If so, +1 for applying this and backpatching it as far as make
> sense.
>
> ...Robert
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2010-02-06 19:11:03 Re: psql tab completion for DO blocks
Previous Message Tom Lane 2010-02-06 18:04:09 Re: pg_class has no toast table?