Re: BUG #1153: to_ascii() doesn't work on eth ( )

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Peter of the Norse" <RahmCoff(at)Radio1190(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1153: to_ascii() doesn't work on eth ( )
Date: 2004-05-12 18:58:37
Message-ID: 27425.1084388317@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> Currently to_ascii changes all 's to spaces,
> which breaks everything.

The present to_ascii() code isn't very bright ... it doesn't know about
very many encodings, and it can't handle length-changing edits, which
is what you seem to need. Want to improve it and send a patch? See
src/backend/utils/adt/ascii.c.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Martin Pitt 2004-05-13 09:41:56 Fix for buffer overflow ready [was: Fwd: Bug#247306: odbc-postgresql: SIGSEGV with long inputs (> 10000 bytes)]
Previous Message PostgreSQL Bugs List 2004-05-12 17:37:33 BUG #1153: to_ascii() doesn't work on eth ()