Re: Patch for collation using ICU - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Patch for collation using ICU
Date
Msg-id 23299.1111762418@sss.pgh.pa.us
Whole thread Raw
In response to Re: Patch for collation using ICU  (Palle Girgensohn <girgen@pingpong.net>)
Responses Re: Patch for collation using ICU  (Andrew Dunstan <andrew@dunslane.net>)
Re: Patch for collation using ICU  (Palle Girgensohn <girgen@pingpong.net>)
List pgsql-hackers
Palle Girgensohn <girgen@pingpong.net> writes:
> hmm... I think I might have made a false assumption that 
> the locale string would contain the character encoding.

You certainly cannot assume that.  Would that it were so easy to find
out the character set for a locale :-(.

There's some code in initdb that you might emulate, though I can't say
that I trust it a whole lot.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: pg_dump issue : Cannot drop a non-existent(?) trigger
Next
From: Tom Lane
Date:
Subject: Re: pg_dump issue : Cannot drop a non-existent(?) trigger