Okay, I've spent a lot of time on this bug, and I can't figure it out. Hopefully someone can help me get it. The following are the files I'm using:
filltables.sql:
create table applicant_tmp (
ssn char(10),
inq int,
act int);
copy applicant_tmp from 'table.txt' with delimiter '\t' null '';
table.txt:
012345678 0 0
I use the command `psql -f filltables.sql dbname`, and it gives me the
following error:
CREATE TABLE
": can't parse "les.sql:7: ERROR: copy: line 1, pg_atoi: error in "0
It makes me think that I'm overflowing a buffer somewhere because the
error is weird and incomplete. But I honestly can't see what is going
on. Any ideas are welcome. Thanks,
Casey
signature.asc
Description: This is a digitally signed message part
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
