pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: Nardmann, Heiko <heiko.nardmann@secunet.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: usage of option ByteaAsLongVarBinary?
Date: Tue, 1 Aug 2006 12:05:14 +0200
Message-ID: <20060801100514.GA10448@soptik.pzkagis.cz> (raw)
In-Reply-To: <200608010916.51191.heiko.nardmann@secunet.com>
References: <200608010916.51191.heiko.nardmann@secunet.com>

> am not sure how to set this. I have thought that this would be possible by 
> setting "ByteaAsLongVarBinary=1" inside of the odbc.ini. But without luck. 

Yes. This is the right way. Do you have it at the right place in
odbc.ini?

> Once again I had a look at the sources - then I did not find any other way to 
> set it than setting it via the specified Windows GUI. Since I do use Linux 

I see this way (function calls):
PGAPI_DriverConnect
dconn_get_connect_attributes
dconn_get_attributes
copyAttributes

> what is my way to set it? Do I have to go via the ODBC HDBC handle? Any 
> examples for this?

There is no such way.

It could be useful to try enable the mylog output (Debug = 1 in odbc.ini).
The mylog is placed in /tmp/mylog_*.log.

BTW could you send us the odbc.ini to check it?

Regards,

Luf



view thread (5+ messages)  latest in thread

Message-ID: <20060801100514.GA10448@soptik.pzkagis.cz>
Permalink:  ../20060801100514.GA10448@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20060801100514.GA10448@soptik.pzkagis.cz

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: luf@pzkagis.cz, heiko.nardmann@secunet.com
  Subject: Re: usage of option ByteaAsLongVarBinary?
  In-Reply-To: <20060801100514.GA10448@soptik.pzkagis.cz>
  References: <200608010916.51191.heiko.nardmann@secunet.com> <20060801100514.GA10448@soptik.pzkagis.cz>

* 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