From: john guthrie <jguthrie@psynapsetech.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: problem with 'copy binary' file format
Date: Wed, 22 Jan 2003 07:41:08 -0500
Message-ID: <3E2E9164.1080201@psynapsetech.net> (raw)
In-Reply-To: <13049.1043187541@sss.pgh.pa.us>
References: <3E2DB3A2.7020503@psynapsetech.net>
<13049.1043187541@sss.pgh.pa.us>
i agree. i'm not doing anything with the file. i can start up psql, type:
copy binary my_table from 'tmpfile';
and get the exact same error message. the table schema, by the way,
consists of two int4's, a timestamp, and a bytea.
thanks.
john
Tom Lane wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: jguthrie@psynapsetech.net, tgl@sss.pgh.pa.us
Subject: Re: problem with 'copy binary' file format
In-Reply-To: <3E2E9164.1080201@psynapsetech.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox