Re: PROPOSAL of xmlvalidate - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: PROPOSAL of xmlvalidate
Date
Msg-id 4CF3E933.9050407@dunslane.net
Whole thread Raw
In response to Re: PROPOSAL of xmlvalidate  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: PROPOSAL of xmlvalidate
Re: PROPOSAL of xmlvalidate
List pgsql-hackers

On 11/29/2010 12:36 PM, Robert Haas wrote:
> On Mon, Nov 29, 2010 at 12:18 PM, Pavel Stehule<pavel.stehule@gmail.com>  wrote:
>> 2010/11/29 Robert Haas<robertmhaas@gmail.com>:
>>> On Sun, Nov 28, 2010 at 5:33 AM, Tomáš Pospíšil<killteck@seznam.cz>  wrote:
>>>> I have idea of creating system table for holding DTDs, XSDs, Relax-NGs (similar as on ORACLE).
>>>>
>>>> Is that good idea?
>>> I doubt it.  Why would we want to do that?
>> If I understand, it allows a local copy of DTD, .. so then is possible
>> to provide a fast DTD checking.
> But that could equally well be stored in a user table rather than a
> system table.
>

Yeah. The trouble is you won't be able to use that reliably in a check 
constraint, which I imagine is one of the principal intended purposes. 
I'm not sure how we should go about that.

cheers

andrew


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: PROPOSAL of xmlvalidate
Next
From: Tom Lane
Date:
Subject: Re: profiling connection overhead