Re: PROPOSAL of xmlvalidate - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: PROPOSAL of xmlvalidate
Date
Msg-id 4CF25C74.40106@dunslane.net
Whole thread Raw
In response to PROPOSAL of xmlvalidate  (Tomáš Pospíšil <killteck@seznam.cz>)
List pgsql-hackers

On 11/28/2010 05:33 AM, Tomáš Pospíšil wrote:
> Hi,
>
> I am working on patch adding xmlvalidate() functionality. LibXML 2.7.7 improved DTD, XSD, Relax-NG validation, so
usingthat. I have idea of creating system table for holding DTDs, XSDs, Relax-NGs (similar as on ORACLE).
 
>
> Is that good idea? If so, how to implement that table? pg_attribute and pg_class had changed guite from PostgresSQL
8.0.
>
>

In the first place you need to tell us why you think it should go in a 
catalog table at all. Unless you intend to use some sort of typmod with 
the xml type, to indicate the validation object, it seems quite unnecessary.

cheers

andrew


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: contrib: auth_delay module
Next
From: Jan Urbański
Date:
Subject: Re: PLy_malloc and plperl mallocs