Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group