Re: Problem with COPY FROM

From: "Jay O'Connor" <joconnor(at)cybermesa(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Jay O'Connor" <joconnor(at)cybermesa(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with COPY FROM
Date: 2003-05-28 20:17:40
Message-ID: 20030528131740.A10811@altaica
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2003.05.28 12:00 Tom Lane wrote:
> "Jay O'Connor" <joconnor(at)cybermesa(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2003-05-28 20:21:47 Re: change log 7.3.3
Previous Message Henrik Steffen 2003-05-28 19:32:23 Re: change log 7.3.3