Re: xml type and encodings - Mailing list pgsql-hackers

From Tom Lane
Subject Re: xml type and encodings
Date
Msg-id 15258.1168924032@sss.pgh.pa.us
Whole thread Raw
In response to Re: xml type and encodings  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Andrew Dunstan wrote:
>> Are we going to ensure that what we hand back to another client has
>> an appropriate encding decl? Or will we just remove it in all cases?

> We can't do the former, but the latter might be doable.

I think that in the case of binary output, it'd be possible for xml_send
to include an encoding decl safely, because it could be sure that that's
where the data is going forthwith.  Not sure if that's worth anything
though.  The idea of text and binary output behaving differently on this
point doesn't seem all that attractive ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Takayuki Tsunakawa"
Date:
Subject: Re: [GENERAL] Checkpoint request failed on version 8.2.1.
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Checkpoint request failed on version 8.2.1.