Re: XML schemas and PG column names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: XML schemas and PG column names
Дата
Msg-id 7266.1260639509@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: XML schemas and PG column names  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: XML schemas and PG column names
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> 2. What happens when the column name contains characters that would have
>> to be escaped, such as "<" --- haven't you just replaced one de-escaping
>> problem with another?

> But the difference is that the XML processor will automatically unescape 
> this value (and re-escape it on output if necessary). The user won't 
> have to do anything (or shouldn't if their XML processor is worth 
> anything at all).

OK, so your argument is that this is a standard escaping rule and the
one in the SQL standard is, um, not standard.  I wonder why the SQL
committee felt compelled to invent their own, then?
        regards, tom lane


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Adding support for SE-Linux security
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Adding support for SE-Linux security