Re: Why are default encoding conversions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Why are default encoding conversions
Date
Msg-id 2218.1143560939@sss.pgh.pa.us
Whole thread Raw
In response to Re: Why are default encoding conversions  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: Why are default encoding conversions  (Tatsuo Ishii <ishii@sraoss.co.jp>)
List pgsql-hackers
Tatsuo Ishii <ishii@sraoss.co.jp> writes:
> I'm sure we need more than one default conversion for encoding A and
> B. For example, different vendors provide different conversion maps
> for SJIS and UTF-8. M$ has its own and Apple has another one, etc. The
> differences are not huge but some customers might think the difference
> is critical. In this case they could create their own conversion in
> their schema.

Well, being able to switch to a different conversion is fine, but I don't
think that's a good argument for tying it to the schema search path.
What would make more sense to me is a command specifically setting the
conversion to use --- perhaps a GUC variable, since then ALTER USER SET
and ALTER DATABASE SET would provide convenient ways of controlling it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: Shared memory
Next
From: Andrew Dunstan
Date:
Subject: Re: Tru64/Alpha problems