Re: [GENERAL] possible to create multivalued index from xpath() results in 8.3?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Matt Magoffin" <postgresql(dot)org(at)msqr(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [GENERAL] possible to create multivalued index from xpath() results in 8.3?
Date: 2007-11-22 22:56:38
Message-ID: 200711222356.38667.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:
> Given the actual behavior of xmltotext_with_xmloption, it certainly
> seems like a pretty useless error check. Also, xml_out doesn't behave
> that way, so why should xmltotext?
>
> The volatility markings of xml_in and texttoxml seem wrong too.

This is the patch that came out of it.

> Should we force initdb to correct these pg_proc entries, or just quietly
> change pg_proc.h?

Considering the extent of the changes, I'd be in favor of forcing an initdb.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

Attachment Content-Type Size
xml-casts.patch text/x-diff 5.2 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Lambert 2007-11-22 23:04:47 Re: Query re disk usage
Previous Message Andrew Maclean 2007-11-22 21:59:07 Re: Date Timezone

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Browne 2007-11-23 02:59:15 Re: Autovacuum and OldestXmin
Previous Message Heikki Linnakangas 2007-11-22 22:29:39 Re: Test lab