Re: xml type and encodings

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: xml type and encodings
Дата
Msg-id 200701152142.44188.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: xml type and encodings  ("Florian G. Pflug" <fgp@phlo.org>)
Ответы Re: xml type and encodings  ("Florian G. Pflug" <fgp@phlo.org>)
Re: xml type and encodings  ("Andrew Dunstan" <andrew@dunslane.net>)
Список pgsql-hackers
Florian G. Pflug wrote:
> Couldn't the server change the encoding declaration inside the xml to
> the correct
> one (the same as client_encoding) before returning the result?

The data type output function doesn't know what the client encoding is 
or whether the data will be shipped to the client at all.  But what I'm 
thinking is that we should remove the encoding declaration if possible.  
At least that would be less confusing, albeit still potentially 
incorrect if the client continues to process the document without care.
-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: xml type and encodings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Function execution costs 'n all that