pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John C. Frickson <john@frickson.us>
To: Inoue, Hiroshi <inoue@tpf.co.jp>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL ODBC List <pgsql-odbc@postgresql.org>
Subject: Re: SQLBulkOperations
Date: Fri, 06 Jun 2014 18:28:57 -0500
Message-ID: <1402097337.8234.43.camel@server.frickson.pvt> (raw)
In-Reply-To: <53922EE4.9090306@tpf.co.jp>
References: <1402025533.8234.13.camel@server.frickson.pvt>
	<CAB7nPqQaUZszeH41tEnBKgkDf8VEvAzESi1qrgiw5r3au17Yqg@mail.gmail.com>
	<1402055839.8234.18.camel@server.frickson.pvt>
	<5391B076.8070208@tpf.co.jp>
	<1402059306.8234.34.camel@server.frickson.pvt>
	<53922EE4.9090306@tpf.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>


On Sat, 2014-06-07 at 06:13 +0900, Inoue, Hiroshi wrote:
> 
> (2014/06/06 21:55), John C. Frickson wrote:
> > /etc/unixODBC/odbcinst.ini:
> >    [PSQL]
> >    Description     = PostgreSQL
> >    Driver64        = /usr/lib64/psqlodbcw.so
> >    UsageCount      = 1
> >
> > I set attributes like this:
> >
> > SQLSetEnvAttr(henv, SQL_ATTR_ODBC_VERSION, (SQLPOINTER)SQL_OV_ODBC3, 0);
> > SQLSetConnectAttr(hdbc,SQL_ATTR_ODBC_CURSORS,(SQLPOINTER)SQL_CUR_USE_ODBC,0);
> > SQLSetStmtAttr(hstmt,SQL_ATTR_CONCURRENCY, SQL_CONCUR_ROWVER, 0);
> > SQLSetStmtAttr(hstmt,SQL_ATTR_CURSOR_TYPE,SQL_CURSOR_KEYSET_DRIVEN,0);
> >
> > Connection is DSN-less using connection string:
> > DRIVER={PGSQL};SERVER=xx.xxx.xx.x;UID=user;PWD=pass;DATABASE=MyDB;UseServerSidePrepare=1;
> 
> Please try to add UpdatabelCursors=1 to your connection string.
> BTW is the version of the driver 8.3.0200 not 9.3.0200?
> 
> regards,
> Hiroshi Inoue

Added "UpdatableCursors=1" to the connection string. No difference.

Yes, OpenSUSE has 8.3.0200. Why? I don't know. I downloaded, compiled
and installed version 9.2.0100. Still get the error.




-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (10+ messages)  latest in thread

Message-ID: <1402097337.8234.43.camel@server.frickson.pvt>
Permalink:  ../1402097337.8234.43.camel@server.frickson.pvt/
Also on:    postgresql.org/message-id/1402097337.8234.43.camel@server.frickson.pvt

 · 

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: john@frickson.us, inoue@tpf.co.jp, michael.paquier@gmail.com
  Subject: Re: SQLBulkOperations
  In-Reply-To: <1402097337.8234.43.camel@server.frickson.pvt>
  References: <1402025533.8234.13.camel@server.frickson.pvt> <CAB7nPqQaUZszeH41tEnBKgkDf8VEvAzESi1qrgiw5r3au17Yqg@mail.gmail.com> <1402055839.8234.18.camel@server.frickson.pvt> <5391B076.8070208@tpf.co.jp> <1402059306.8234.34.camel@server.frickson.pvt> <53922EE4.9090306@tpf.co.jp> <1402097337.8234.43.camel@server.frickson.pvt>

* 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