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

How are you setting UpdatableCursors option?
You have to set the option=1 when you use SQLBulkOperations().

regards,
Hiroshi Inoue

(2014/06/06 20:57), John C. Frickson wrote:
> On Fri, 2014-06-06 at 13:37 +0900, Michael Paquier wrote:
>> On Fri, Jun 6, 2014 at 12:32 PM, John C. Frickson <john@frickson.us> wrote:
>>> Is there a problem with the SQLBulkOperations function? When I call
>>> SQLBulkOperations(hstmt, SQL_ADD) I get an error: "[IM001] Driver does
>>> not support this function".
>>>
>>> I'm probably missing something simple. Help please?
>> What is the version of Postgres ODBC and ODBC lib used? the OS?  I am
>> seeing in the code that SQLBulkOperations is used if odbc version
>> protocol is newer than 0x0300.
>
> Versions:
>
>    OpenSUSE 13.1 x86_64
>    PostgreSQL 9.2.7
>    psqlODBC 08.03.0200
>    unixODBC 2.3.1


-- 
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: <5391B076.8070208@tpf.co.jp>
Permalink:  ../5391B076.8070208@tpf.co.jp/
Also on:    postgresql.org/message-id/5391B076.8070208@tpf.co.jp

 · 

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: inoue@tpf.co.jp, john@frickson.us, michael.paquier@gmail.com
  Subject: Re: SQLBulkOperations
  In-Reply-To: <5391B076.8070208@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>

* 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