From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1010713 ] Bug with datatype lo and server side cursor
Date: Tue, 6 Oct 2009 15:21:59 +0000 (UTC)
Message-ID: <20091006152159.41C431071E01@pgfoundry.org> (raw)
Bugs item #1010713, was opened at 2009-10-06 17:21
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010713&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Roel Claessen (xillion)
Assigned to: Nobody (None)
Summary: Bug with datatype lo and server side cursor
Initial Comment:
Since the latest version of our application we switched from clientside to serverside cursor. Everything works fine except for tables that have a lo field. Since we use serverside cursors we can't post any data to the table in the lo field. It seems like the ODBC driver is generating the wrong query and is inserting the blob content directly, without quoting, into the update query.
We have the following configuration:
PostgreSQL version:
PostgreSQL 8.3.7 on Debian 4.3.2-1.1
ODBC driver:
PostgreSQL Unicode 8.03.04.00 (also tested with version 8.04.01.00)
Connectionstring:
Provider=MSDASQL.1;
Extended Properties="DRIVER={PostgreSQL Unicode};
DATABASE=dbname;
SERVER=192.168.1.120;
PORT=5432;
READONLY=0;
PROTOCOL=7.4+;
FAKEOIDINDEX=0;
SHOWOIDCOLUMN=0;
ROWVERSIONING=0;
SHOWSYSTEMTABLES=0;
CONNSETTINGS=SET CLIENT_ENCODING TO 'LATIN1';
FETCH=100;
SOCKET=4096;
UNKNOWNSIZES=Longest;
MAXVARCHARSIZE=254;
TrueIsMinus1=1;
UpdatableCursors=1;
CACHESIZE=100;
MAXLONGVARCHARSIZE=-4;
OPTIMIZER=1;
KSQO=1;
USEDECLAREFETCH=0;
TEXTASLONGVARCHAR=1;
UNKNOWNSASLONGVARCHAR=1;
BOOLSASCHAR=0;
PARSE=0;
CANCELASFREESTMT=0;
EXTRASYSTABLEPREFIXES=dd_";
LFConversion=1;
DisallowPremature=0;
BI=0;
DEBUG=0;
COMMLOG=0;
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1010713&group_id=1000125
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: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1010713 ] Bug with datatype lo and server side cursor
In-Reply-To: <20091006152159.41C431071E01@pgfoundry.org>
References: <20091006152159.41C431071E01@pgfoundry.org>
* 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