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