From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Fork <mfork@toledolink.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: ODBC and COPY
Date: Tue, 16 Jan 2001 01:27:09 -0500
Message-ID: <11469.979626429@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSI.4.21.0101160102110.29498-100000@glass.toledolink.com>
References: <Pine.BSI.4.21.0101160102110.29498-100000@glass.toledolink.com>
Michael Fork <mfork@toledolink.com> writes:
> I have been attempting to use the COPY command in an ADO connection,
> but receive the following error:
> Error while executing the query;
> Unexpected protocol character from backend (send_query)
>
> This is PostgreSQL 7.0.2 on i386-unknown-openbsd2.8, compiled by cc with
> the 6.5 version of the PostgresSQL ODBC driver.
Now that I look at it, it looks like the ODBC code only *thinks* it can
cope with the 6.4-and-later FE-to-BE protocol. It doesn't seem to know
how to do copy in or out under the latest protocol. Try setting it to
use 6.3 protocol ... the backend should still accept that ...
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, mfork@toledolink.com
Subject: Re: ODBC and COPY
In-Reply-To: <11469.979626429@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