Re: Trying to load MySQL data

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: "garrettmoore(at)gmail(dot)com" <garrettmoore(at)gmail(dot)com>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trying to load MySQL data
Date: 2007-01-11 22:13:31
Message-ID: 1168553611.20602.546.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2007-01-10 at 16:51, garrettmoore(at)gmail(dot)com wrote:
> The missing quote after Poster is a mistake I made when sanitzing the
> data for posting here. That error is NOT present in the actual data.
> There is a quote where needed in the data. So, with that in mind, why
> am I still getting the error?
>
> Also, there is no symbol we can expect to not be in the data. This data
> is from several sources, including a message board, and there could be
> tildes, pipes, or any other symbol in discussion fields.
>
> Also since it's CSV we just have null represented by lack of any value
> between two commas, so: a,b,,d represents a row with values a, b, NULL,
> d. This works fine in general.

Can you make a sanitized test case, complete unto itself, and post that?

The data to look for are generally \ and '

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dparent 2007-01-11 22:31:23 Function which returns record
Previous Message Richard Troy 2007-01-11 22:01:53 Re: [HACKERS] Checkpoint request failed on version 8.2.1.