Re: Problem with COPY FROM - Mailing list pgsql-general

From Jay O'Connor
Subject Re: Problem with COPY FROM
Date
Msg-id 20030528131740.A10811@altaica
Whole thread Raw
In response to Re: Problem with COPY FROM  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 2003.05.28 12:00 Tom Lane wrote:
> "Jay O'Connor" <joconnor@cybermesa.com> writes:
> > So what is the proper way of ending a line in a file you expect to feed
> in
> > to "COPY FROM"...


>  Don't put a tab after the last column, either.

*THAT* was the problem.  My loop in my code of writing fields didn't check
for the last field and just added a tab after every field.


Thanks

Take care,
Jay

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with COPY FROM
Next
From: "Henrik Steffen"
Date:
Subject: Re: change log 7.3.3