pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 蔡珂珂 <caike85@126.com>
To: pgsql-odbc@postgresql.org
Subject: some questions in psqlodbc
Date: Sat, 15 Nov 2014 14:47:09 +0800 (CST)
Message-ID: <4c7ba3df.451e.149b2348e1a.Coremail.caike85@126.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Dear somebody:
    hello, I am eric from beijing. And I am a fresh man in psqlodbc. When I am studing at the psqlodbc source code, I have some questions. 
    In file named "odbcapi.c", the function named "SC_opencheck" are called almost everywhere, and in the function, why return some error when "the cursor is open"? And using git, I saw that change was beening done in 2004-01-06 17:58:22. Oh how old is it, but I can't understande why we can't use a cursor when it is opened or created by some other?
    And  in function "PGAPI_ExtendedFetch" in another file "results.c", which is called by SQLFetch, why seting cursor to start using function "SC_inc_rowset_start" or function "SC_set_rowset_start"?
Because we will maybe get rowdata next or not? 
    Could you understand me? My englist is poor, and I am afraid that I couldn't descript my questions clearly. I am sorry to apologize.


Best wishes!
                                                                                            Eric 
                                                                                            From Beijing 2014-11-15 

view thread (2+ messages)  latest in thread

Message-ID: <4c7ba3df.451e.149b2348e1a.Coremail.caike85@126.com>
Permalink:  ../4c7ba3df.451e.149b2348e1a.Coremail.caike85@126.com/
Also on:    postgresql.org/message-id/4c7ba3df.451e.149b2348e1a.Coremail.caike85@126.com

 · 

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: caike85@126.com
  Subject: Re: some questions in psqlodbc
  In-Reply-To: <4c7ba3df.451e.149b2348e1a.Coremail.caike85@126.com>
  References: <4c7ba3df.451e.149b2348e1a.Coremail.caike85@126.com>

* 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