Manuel Sugawara wrote:
>no reinventes la rueda, usa to_ascii ej
>
>
Welcome to psql 7.3.2, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
bd=> select to_ascii('áéíóúñ');
ERROR: pg_to_ascii(): unsupported encoding from SQL_ASCII
¿Tiene que ver con la versión?
Gracias.
Adrián.