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
pgsql-interfaces by date
|Next:||From: john guthrie||Date: 2003-01-22 12:41:08|
|Subject: Re: problem with 'copy binary' file format|
|Previous:||From: john guthrie||Date: 2003-01-21 20:54:58|
|Subject: problem with 'copy binary' file format|