Re: [HACKERS] [RFC] Localized literals

2008-04-23 Thread Zoltan Boszormenyi
Martijn van Oosterhout írta: On Wed, Apr 23, 2008 at 10:02:37AM +0200, Zoltan Boszormenyi wrote: But the question popped up whether PostgreSQL can be extended to allow localized literals and apply encoding conversion the same way as on string data. NAMEDATA can be replaced with regular TEXT a

Re: [HACKERS] [RFC] Localized literals

2008-04-23 Thread Martijn van Oosterhout
On Wed, Apr 23, 2008 at 10:02:37AM +0200, Zoltan Boszormenyi wrote: > But the question popped up whether PostgreSQL can be extended > to allow localized literals and apply encoding conversion the same > way as on string data. NAMEDATA can be replaced with regular TEXT > and have the same conversion

[HACKERS] [RFC] Localized literals

2008-04-23 Thread Zoltan Boszormenyi
Hi, we have a customer who shot themselves in the foot by using table names with german accented characters in them. The client application on the popular OS is using a single-byte encoding (LATIN9), their dump of the original database is using the same but no "SET client_encoding = ..." line any