Re: Best import approach? Delimiters in strings

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Andrew Taylor <andydtaylor(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Best import approach? Delimiters in strings
Date: 2013-02-16 18:13:44
Message-ID: 511FCC58.6030907@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/16/2013 09:52 AM, Andrew Taylor wrote:
> Unfortunately my starting point is data in the format of that example
> line. I hasn't spotted the lack of quotes on the first value. Given this
> format, is my best bet to write a script transforming it pre-import to
> postgres? I.e. are there no arguments I could pass to the import process
> to handle this directly? Thanks

Yes, but we need to see the actual import code i.e COPY table_name FROM
file_name

>
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-02-16 18:15:03 Re: Best import approach? Delimiters in strings
Previous Message Andrew Taylor 2013-02-16 17:52:57 Re: Best import approach? Delimiters in strings