Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D3E374758DC for ; Tue, 21 Jan 2003 17:20:16 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id F1DC5476350 for ; Tue, 21 Jan 2003 17:18:59 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h0LMJ15u013050; Tue, 21 Jan 2003 17:19:01 -0500 (EST) To: john guthrie Cc: pgsql-interfaces@postgresql.org Subject: Re: problem with 'copy binary' file format In-reply-to: <3E2DB3A2.7020503@psynapsetech.net> References: <3E2DB3A2.7020503@psynapsetech.net> Comments: In-reply-to john guthrie message dated "Tue, 21 Jan 2003 15:54:58 -0500" Date: Tue, 21 Jan 2003 17:19:01 -0500 Message-ID: <13049.1043187541@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/89 X-Sequence-Number: 3589 john guthrie 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