pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Sam Varshavchik <mrsam@courier-mta.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Cursor for a positioned update: "cursor <name> does not exist" error
Date: Thu, 23 May 2013 22:20:07 +0900
Message-ID: <519E1787.1070903@tpf.co.jp> (raw)
In-Reply-To: <cone.1369260717.1874.14504.1000@monster.email-scan.com>
References: <cone.1369260717.1874.14504.1000@monster.email-scan.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi Sam,

(2013/05/23 7:11), Sam Varshavchik wrote:
> I'm using postgresql-odbc-09.01.0200 with postgresl-9.2.4
>
> According to the documention for SQLSetCursorName
> (http://msdn.microsoft.com/en-us/library/windows/desktop/ms711707%28v=vs.85%29.aspx)
>
> I don't really need to use it, and ODBC will use a default name.
>
> With unixODBC and a Postgresql connection handle, SQLGetInfo() shows
> SQL_CA1_POS_UPDATE capability for SQL_STATIC_CURSOR_ATTRIBUTES1, and
> SQL_KEYSET_CURSOR_ATTRIBUTES1.

SQL_CA1_POS_UPDATE stands for thr capability about SQLSetPos function
not about positioned update.
Maybe we had better not support SQLSetCursorName to avoid the confusion.

regards,
Hiroshi Inoue


-- 
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 (2+ messages)

Message-ID: <519E1787.1070903@tpf.co.jp>
Permalink:  ../519E1787.1070903@tpf.co.jp/
Also on:    postgresql.org/message-id/519E1787.1070903@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, mrsam@courier-mta.com
  Subject: Re: Cursor for a positioned update: "cursor <name> does not exist" error
  In-Reply-To: <519E1787.1070903@tpf.co.jp>
  References: <cone.1369260717.1874.14504.1000@monster.email-scan.com> <519E1787.1070903@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