Re: [PATCHES] Postgres-6.3.2 locale patch (fwd)
От | Peter Mount |
---|---|
Тема | Re: [PATCHES] Postgres-6.3.2 locale patch (fwd) |
Дата | |
Msg-id | Pine.LNX.3.95.980604084711.22446B-100000@taer.maidstone.gov.uk обсуждение исходный текст |
Ответы |
Re: [HACKERS] Re: [PATCHES] Postgres-6.3.2 locale patch (fwd)
Re: [HACKERS] Re: [PATCHES] Postgres-6.3.2 locale patch (fwd) |
Список | pgsql-hackers |
On Thu, 4 Jun 1998, Thomas G. Lockhart wrote: > Hi. I'm looking for non-English-using Postgres hackers to participate in > implementing NCHAR() and alternate character sets in Postgres. I think > I've worked out how to do the implementation (not the details, just a > strategy) so that multiple character sets will be allowed in a single > database, additional character sets can be loaded at run-time, and so > that everything will behave transparently. Ok, I'm English, but I'll keep a close eye on this topic as the JDBC driver has two methods that handle Unicode strings. Currently, they simply call the Ascii/Binary methods. But they could (when NCHAR/NVARCHAR/CHARACTER SET is the columns type) handle the translation between the character set and Unicode. > I would propose to do this for v6.4 as user-defined packages (with > compile-time parser support) on top of the existing USE_LOCALE and MB > patches so that the existing compile-time options are not changed or > damaged. In a same vein, for getting JDBC up to speed with this, we may need to have a function on the backend that will handle the translation between the encoding and Unicode. This would allow the JDBC driver to automatically handle a new character set without having to write a class for each package. -- Peter Mount, peter@maidstone.gov.uk Postgres email to peter@taer.maidstone.gov.uk & peter@retep.org.uk Remember, this is my work email, so please CC my home address, as I may not always have time to reply from work.
В списке pgsql-hackers по дате отправления: