Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group