Translate function and strange results ...

From: Hervé Piedvache <bill(dot)footcow(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Translate function and strange results ...
Date: 2009-11-01 15:56:15
Message-ID: 200911011656.15359.bill.footcow@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Can someone can explain me why it's run like this with PostgreSQL v8.3.8 ?

base=# select translate('Hervé', 'é', 'e');
translate
-----------
Herve
(1 row)

base=# select translate('Hervé', 'âàäéèêëïöôùüû', 'aaaeeeeioouuu');
translate
-----------
Hervai
(1 row)

base=# \encoding
SQL_ASCII

Thanks,
--
Hervé Piedvache

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2009-11-01 17:03:42 Re: Windowing functions - future plans
Previous Message Tom Lane 2009-11-01 15:19:47 Re: sudoku in an sql statement