Re: problem with 'copy binary' file format

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: john guthrie <jguthrie(at)psynapsetech(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: problem with 'copy binary' file format
Date: 2003-01-21 22:19:01
Message-ID: 13049.1043187541@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

john guthrie <jguthrie(at)psynapsetech(dot)net> writes:
> i am having a problem creating a 'copy binary' input file in c
> on my linux box running postgresql 7.2.2. the error message i get is:
> ERROR: copy: line 1, pg_atoi: error in "PGBCOPY": can't parse "PGBCOPY"

And what exactly are you doing with the file after you create it?
pg_atoi shouldn't be invoked at all during COPY BINARY FROM ...

regards, tom lane

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message john guthrie 2003-01-22 12:41:08 Re: problem with 'copy binary' file format
Previous Message john guthrie 2003-01-21 20:54:58 problem with 'copy binary' file format