Re: xmlconcat (was 9.0 release notes done)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: xmlconcat (was 9.0 release notes done)
Дата
Msg-id 22011.1269185341@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 9.0 release notes done  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: xmlconcat (was 9.0 release notes done)  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
>> http://wiki.postgresql.org/wiki/PostgreSQL_9.0_Open_Items

> I have just been looking at the xmlconcat bug on that list. I can't 
> think of any better solution than parsing the resulting string to make 
> sure it is well-formed before we return,

That might be a reasonable thing to do as a safety check, but I can't
escape the feeling that what this fundamentally is is a data typing
error, traceable to the lack of differentiation between xml documents
and xml fragments.  Is there a way to attack it based on saying that the
inputs can't be documents, or stripping the document overhead if they are?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal: more practical view on function's source code
Следующее
От: Tom Lane
Дата:
Сообщение: Re: proposal: more practical view on function's source code