From: Tom Lane <tgl@sss.pgh.pa.us>
To: john guthrie <jguthrie@psynapsetech.net>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: problem with 'copy binary' file format
Date: Tue, 21 Jan 2003 17:19:01 -0500
Message-ID: <13049.1043187541@sss.pgh.pa.us> (raw)
In-Reply-To: <3E2DB3A2.7020503@psynapsetech.net>
References: <3E2DB3A2.7020503@psynapsetech.net>
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
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: tgl@sss.pgh.pa.us, jguthrie@psynapsetech.net
Subject: Re: problem with 'copy binary' file format
In-Reply-To: <13049.1043187541@sss.pgh.pa.us>
* 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