copy table from...

From: Sandeep Joshi <sjoshi(at)Zambeel(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: copy table from...
Date: 2000-11-21 23:20:35
Message-ID: 3A1B0343.1216887@zambeel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am trying to copy data from an ascii file into the table;
I get following error. can anybody explain why? solution if possible;
copy: line 1, pg_atoi: error in "tom": can't parse "tom "

create sequence film_id start 1;
create table zuser ( film_id int4 default NEXTVAL('film_id'), name
char(10));

data file has following contents:

unbreakable
sixthsense
nerds
buggy

Sandeep

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wade D. Oberpriller 2000-11-21 23:46:42 Core dumps, i.e. how to track down a problem
Previous Message Peeter Smitt 2000-11-21 23:08:04