Skip site navigation (1) Skip section navigation (2)

Re: From latin9 to sql_ascii??

From: Jaime Casanova <systemguards(at)yahoo(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: From latin9 to sql_ascii??
Date: 2004-12-18 04:33:18
Message-ID: 20041218043318.38250.qmail@web50009.mail.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-patches
 --- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> escribió: 
> Jaime Casanova <systemguards(at)yahoo(dot)com> writes:
> > Why it not work on Latin9,
> 
> >> Probably because it hasn't got a table for
> Latin9.
> >> 
> >> Feel free to contribute one --- see 
> >> src/backend/utils/adt/ascii.c.
> 
> > This page shows the differences between Latin1 &
> > Latin9:
> > http://www.cs.tut.fi/~jkorpela/latin9.html
> 
> > The diffs are:
> 
> > 164: the euro symbol.           (sql_ascii =
> 'E')???
> > 166: an S with a symbol above   (sql_ascii = 'S')
> > 168: the same but lower case    (sql_ascii = 's')
> > 180: an Z with a symbol above   (sql_ascii = 'Z')
> > 184: the same but lower case    (sql_ascii = 'z')
> > 188: it's an O merge with an E  (sql_ascii = 
> '')???
> > 189: the same but lower case    (sql_ascii = 
> '')???
> > 190: an Y with a 2 points above (sql_ascii = 'Y')
> 
> > Comments? 
> 
> Works for me.  Anyone feel this is too big a change
> to push into 8.0?
> Strictly speaking it's a new feature, but it sure
> looks harmless from here.

You guys have the code, you guys have the power.
I don't think it can cause any problem. :)

> 
> Personally I'd say that the euro symbol should map
> to ' ' not 'E', but am not set on that.
> 

Maybe, someone that uses the euro symbol can comment??
if not, and you said that we can just map that symbol
to ' '.

Here's the *fixed* patch it's up to you wich one to
use.

regards,
Jaime Casanova



_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com

Attachment: ascii2.patch
Description: text/plain (605 bytes)

In response to

Responses

pgsql-admin by date

Next:From: Tom LaneDate: 2004-12-18 04:57:54
Subject: Re: From latin9 to sql_ascii??
Previous:From: Alvaro HerreraDate: 2004-12-17 23:43:13
Subject: Re: From latin9 to sql_ascii??

pgsql-patches by date

Next:From: Tom LaneDate: 2004-12-18 04:57:54
Subject: Re: From latin9 to sql_ascii??
Previous:From: Bruce MomjianDate: 2004-12-18 04:21:12
Subject: Re: default timezone in postgresql.conf

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group