Re: [HACKERS] contrib/xml2 and xml type

2007-01-11 Thread Nikolay Samokhvalov
On 1/11/07, Nikolay Samokhvalov <[EMAIL PROTECTED]> wrote: Duplicate versions of functions (e.g., there would be XMLPATH() as the main XPath function for XML type, producing arrays of values of XML type in general case -- non-standard, but generalized). Sorry :-) I wanted to say I suppose tha

Re: [HACKERS] contrib/xml2 and xml type

2007-01-11 Thread Nikolay Samokhvalov
Duplicate versions of functions (e.g., there would be XMLPATH() as the main XPath function for XML type, producing arrays of values of XML type in general case -- non-standard, but generalized). In addition to two SQL files for registration of module functions in database, I would move XSLT funct

[HACKERS] contrib/xml2 and xml type

2007-01-11 Thread Peter Eisentraut
Assuming a working xml type, what do you think the future of the contrib/xml2 module should be? At the moment, I'd imagine that we add duplicate versions of most functions, where appropriate, that use the xml type instead of the text type. Perhaps we should supply two sets of SQL files, so tha