Re: get rid of SQL_ASCII? - Mailing list pgsql-hackers

From ktm@rice.edu
Subject Re: get rid of SQL_ASCII?
Date
Msg-id 20130905172930.GD30496@aart.rice.edu
Whole thread Raw
In response to Re: get rid of SQL_ASCII?  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
On Thu, Sep 05, 2013 at 09:53:18AM -0700, Joshua D. Drake wrote:
> 
> On 09/05/2013 09:42 AM, Josh Berkus wrote:
> >
> >Peter,
> >
> >>Other ideas?  Are there legitimate uses for SQL_ASCII?
> >
> >Migrating from MySQL.  We've had some projects where we couldn't fix
> >MySQL's non-enforcement text garbage, and had to use SQL_ASCII on the
> >receiving side.  If it hadn't been available, the user would have given
> >up on Postgres.
> 
> iconv?
> 

Yes, you can use iconv but then you have to check that it generated
values that do not break your system including the application logic.
That can prove a major stumbling block to changing DBs.

Regards,
Ken



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: get rid of SQL_ASCII?
Next
From: Heikki Linnakangas
Date:
Subject: Re: Analysis on backend-private memory usage (and a patch)