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

From Peter Eisentraut
Subject Re: xml type and encodings
Date
Msg-id 200701152359.41687.peter_e@gmx.net
Whole thread Raw
In response to Re: xml type and encodings  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: xml type and encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Andrew Dunstan wrote:
> We should error out on any explicit encoding that conflicts with the
> client encoding. I don't like the idea of just ignoring an explicit
> encoding decl.

That is an instance of the problem of figuring out which encoding names 
are equivalent, which I believe we have settled on finding impossible.

> 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.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: xml type and encodings
Next
From: Darcy Buskermolen
Date:
Subject: Re: Autovacuum improvements