Re: proposal: to_ascii(bytea) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: proposal: to_ascii(bytea)
Date
Msg-id 18329.1214501131@sss.pgh.pa.us
Whole thread Raw
In response to proposal: to_ascii(bytea)  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-hackers
"Pavel Stehule" <pavel.stehule@gmail.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Regd: TODO Item
Next
From: Tom Lane
Date:
Subject: Re: plpgsql: Is ELSE IF supported or not?