Re: problem with 'copy binary' file format - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: problem with 'copy binary' file format
Date
Msg-id 13049.1043187541@sss.pgh.pa.us
Whole thread Raw
In response to problem with 'copy binary' file format  (john guthrie <jguthrie@psynapsetech.net>)
Responses Re: problem with 'copy binary' file format
List pgsql-interfaces
john guthrie <jguthrie@psynapsetech.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


pgsql-interfaces by date:

Previous
From: john guthrie
Date:
Subject: problem with 'copy binary' file format
Next
From: john guthrie
Date:
Subject: Re: problem with 'copy binary' file format