Re: copy question - fixed width?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Klint Gore <kgore4(at)une(dot)edu(dot)au>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: copy question - fixed width?
Date: 2008-02-10 23:46:39
Message-ID: 11670.1202687199@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Klint Gore <kgore4(at)une(dot)edu(dot)au> writes:
> Is there any way to make copy work with fixed width files?

I'd suggest using a simple sed script to convert the data into the
format COPY understands.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2008-02-10 23:49:53 Re: 8.3: where's the replacement tsearch2 module?
Previous Message Tom Lane 2008-02-10 23:45:09 Re: Mechanics of Select