Re: Copy from text file - Mailing list pgsql-general

From Geoffrey
Subject Re: Copy from text file
Date
Msg-id 449B4973.6000306@3times25.net
Whole thread Raw
In response to Re: Copy from text file  (Chris <dmagick@gmail.com>)
Responses Re: Copy from text file  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
Chris wrote:
> Ricardo Vaz wrote:
>> Hi,
>>
>>
>> It is possible to copy data from text file (CSV) ignoring some columns
>> of this text file?

Assuming you're on a Unix box, you could easily use awk or perl to parse
your csv and create one that contains only the columns you want.

--
Until later, Geoffrey

Any society that would give up a little liberty to gain a little
security will deserve neither and lose both.  - Benjamin Franklin

pgsql-general by date:

Previous
From: Chris
Date:
Subject: Re: Copy from text file
Next
From: Ron Johnson
Date:
Subject: Re: Copy from text file