pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedsome questions in psqlodbc
2+ messages / 2 participants
[nested] [flat]
* some questions in psqlodbc
@ 2014-11-15 06:47 蔡珂珂 <caike85@126.com>
0 siblings, 1 reply; 2+ messages in thread
From: 蔡珂珂 @ 2014-11-15 06:47 UTC (permalink / raw)
To: pgsql-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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: some questions in psqlodbc
@ 2014-11-18 06:34 Craig Ringer <craig@2ndquadrant.com>
parent: 蔡珂珂 <caike85@126.com>
0 siblings, 0 replies; 2+ messages in thread
From: Craig Ringer @ 2014-11-18 06:34 UTC (permalink / raw)
To: 蔡珂珂 <caike85@126.com>; pgsql-odbc
Hi
What's the underlying problem you are trying to solve?
What error do you get that is making you investigate this area?
What does not work the way you expect?
It isn't clear what you're trying to do.
On 11/15/2014 02:47 PM, 蔡珂珂 wrote:
> 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
>
>
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2014-11-18 06:34 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-11-15 06:47 some questions in psqlodbc 蔡珂珂 <caike85@126.com>
2014-11-18 06:34 ` Craig Ringer <craig@2ndquadrant.com>
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