Re: PROPOSAL of xmlvalidate

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tomáš Pospíšil <killteck(at)seznam(dot)cz>
Cc: pgsql-hackers(at)postgresql(dot)org, chmelab(at)gmail(dot)com
Subject: Re: PROPOSAL of xmlvalidate
Date: 2010-11-28 13:43:16
Message-ID: 4CF25C74.40106@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 using that. 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Urbański 2010-11-28 14:01:44 Re: PLy_malloc and plperl mallocs
Previous Message Robert Haas 2010-11-28 13:38:22 Re: contrib: auth_delay module