Re: [HACKERS] PROPOSAL of xmlvalidate

2010-11-29 Thread Andrew Dunstan
On 11/29/2010 01:30 PM, Tom Lane wrote: Andrew Dunstan writes: On 11/29/2010 12:36 PM, Robert Haas wrote: 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 o

Re: [HACKERS] PROPOSAL of xmlvalidate

2010-11-29 Thread Tom Lane
Andrew Dunstan writes: > On 11/29/2010 12:36 PM, Robert Haas wrote: >> 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 purp

Re: [HACKERS] PROPOSAL of xmlvalidate

2010-11-29 Thread Robert Haas
On Mon, Nov 29, 2010 at 12:56 PM, Andrew Dunstan wrote: > On 11/29/2010 12:36 PM, Robert Haas wrote: >> On Mon, Nov 29, 2010 at 12:18 PM, Pavel Stehule >>  wrote: >>> 2010/11/29 Robert Haas: On Sun, Nov 28, 2010 at 5:33 AM, Tomáš Pospíšil  wrote: > I have idea of creating system tabl

Re: [HACKERS] PROPOSAL of xmlvalidate

2010-11-29 Thread Andrew Dunstan
On 11/29/2010 12:36 PM, Robert Haas wrote: On Mon, Nov 29, 2010 at 12:18 PM, Pavel Stehule wrote: 2010/11/29 Robert Haas: On Sun, Nov 28, 2010 at 5:33 AM, Tomáš Pospíšil wrote: I have idea of creating system table for holding DTDs, XSDs, Relax-NGs (similar as on ORACLE). Is that good ide

Re: [HACKERS] PROPOSAL of xmlvalidate

2010-11-29 Thread Pavel Stehule
2010/11/29 Robert Haas : > On Mon, Nov 29, 2010 at 12:18 PM, Pavel Stehule > wrote: >> 2010/11/29 Robert Haas : >>> On Sun, Nov 28, 2010 at 5:33 AM, Tomáš Pospíšil wrote: I have idea of creating system table for holding DTDs, XSDs, Relax-NGs (similar as on ORACLE). Is that g

Re: [HACKERS] PROPOSAL of xmlvalidate

2010-11-29 Thread Robert Haas
On Mon, Nov 29, 2010 at 12:18 PM, Pavel Stehule wrote: > 2010/11/29 Robert Haas : >> On Sun, Nov 28, 2010 at 5:33 AM, Tomáš Pospíšil 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 wou

Re: [HACKERS] PROPOSAL of xmlvalidate

2010-11-29 Thread Pavel Stehule
2010/11/29 Robert Haas : > On Sun, Nov 28, 2010 at 5:33 AM, Tomáš Pospíšil 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 o

Re: [HACKERS] PROPOSAL of xmlvalidate

2010-11-29 Thread Robert Haas
On Sun, Nov 28, 2010 at 5:33 AM, Tomáš Pospíšil 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? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Po

Re: [HACKERS] PROPOSAL of xmlvalidate

2010-11-28 Thread Andrew Dunstan
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? I