X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 685799FB2E7 for ; Tue, 1 Aug 2006 07:05:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 22346-03 for ; Tue, 1 Aug 2006 07:05:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp.pzkagis.cz (gis6.netbox.cz [83.240.30.214]) by postgresql.org (Postfix) with ESMTP id C650B9FB1D3 for ; Tue, 1 Aug 2006 07:05:17 -0300 (ADT) Received: from soptik.pzkagis.cz (localhost.localdomain [127.0.0.1]) by smtp.pzkagis.cz (8.13.1/8.13.1) with ESMTP id k71A5E6F010640; Tue, 1 Aug 2006 12:05:14 +0200 Received: (from luf@localhost) by soptik.pzkagis.cz (8.13.1/8.13.1/Submit) id k71A5EsN010639; Tue, 1 Aug 2006 12:05:14 +0200 Date: Tue, 1 Aug 2006 12:05:14 +0200 From: Ludek Finstrle To: "Nardmann, Heiko" Cc: pgsql-odbc@postgresql.org Subject: Re: usage of option ByteaAsLongVarBinary? Message-ID: <20060801100514.GA10448@soptik.pzkagis.cz> References: <200608010916.51191.heiko.nardmann@secunet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608010916.51191.heiko.nardmann@secunet.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: ClamAV 0.88.2/1628/Mon Jul 31 23:56:57 2006 on smtp.pzkagis.cz X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.167 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/4 X-Sequence-Number: 7968 > 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