Re: proposal: to_ascii(bytea)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc: "Postgres Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: to_ascii(bytea)
Date: 2008-06-26 17:25:31
Message-ID: 18329.1214501131@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> writes:
> Changes related to convert* functions in postgresql 8.3 has impact on
> to_ascii function.

ISTM to_ascii has a completely bogus API anyway. What is it doing
taking an encoding name as an argument? It should just assume the
input text is in the database encoding.

The real fix that's needed there is to improve the set of encodings
it can deal with ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-06-26 17:33:02 Re: plpgsql: Is ELSE IF supported or not?
Previous Message Tom Lane 2008-06-26 17:22:22 Re: Regd: TODO Item