Re: [INTERFACES] ODBC & bytea

From: Byron Nikolaidis <byronn(at)solipsys(dot)com>
To: Robin Whitworth <rwhit(at)goldwiretech(dot)com>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] ODBC & bytea
Date: 1999-06-23 17:40:14
Message-ID: 37711BFE.1E6EEA3C@solipsys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Robin Whitworth wrote:

> I'm having trouble inserting binary data into a column of
> type bytea using a dynamic INSERT. The trouble seems to be if the
> data contains the values 0x5C (ASCII backslash) or 0x27 (ASCII
> singlequote). When I bind the input values for these I'm using
> SQL_C_BINARY. Shouldn't the data just be passed straight through,
> without any evaluation? Is there something special I need to
> do to make this work (or is this a bug?)
>

Sounds like a bug. You should be able to see exactly what is being
sent to the backend by using the driver's log feature. Could you send
that logfile which shows the error.

Byron

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jon Nielsen 1999-06-23 17:58:15 RE: PG6.5 + JDBC + Linux + Kaffe
Previous Message Collin F. Lynch 1999-06-23 16:50:21 ARC/Info and Intergraph