Re: Problem with COPY FROM

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

"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"...

Newline (\n). Don't put a tab after the last column, either.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Henrik Steffen 2003-05-28 19:32:23 Re: change log 7.3.3
Previous Message Tom Lane 2003-05-28 18:58:44 Re: problem delete record error:heap_mark4update