From: Thomas G. Lockhart <lockhart@alumni.caltech.edu>
To: Byron Nikolaidis <byronn@insightdist.com>
Cc: Aleksey Demakov <avd@gcom.ru>
Cc: pgsql-interfaces@postgreSQL.org, Gerald Gryschuk <ggryschuk@scf.sk.ca>
Subject: Re: [INTERFACES] iodbc interface on Unix
Date: Thu, 20 Aug 1998 05:05:31 +0000
Message-ID: <35DBAE9B.331FB800@alumni.caltech.edu> (raw)
References: <35D99896.DFB21123@alumni.caltech.edu>
<35D9D132.4DE6ACB8@insightdist.com>
<86iujpr0qh.fsf@avd.gcom.ru>
<35DAD65D.34165A2F@insightdist.com>
<35DAE850.93FC000C@alumni.caltech.edu>
<35DB06BB.16F5D38D@alumni.caltech.edu>
<35DB1A0A.53F5BD81@insightdist.com>
> > I can confirm that the linker was calling the
> > iodbc routine SQLExecute rather than the internal psqlodbc routine
> > of the same name.
> I did that for SQLExecDirect but not SQLExecute, because SQLExecute
> wasn't being called before the connection transitioned to a connected
> state, whereas, SQLExecDirect was being called in the middle of
> transitioning to the connected state, which was ultimately causing a
> runtime error.
> I'm still confused though, why would this matter?
> ..., but what does it
> matter if SQLExecute is called in the driver manager for normal
> execution.
> That's how its supposed to work anyway. The application calls the
> driver manager function, then the driver manager calls the function in
> one of its loaded drivers.
Yeah, but the problem is that the loaded driver is trying to call an
internal routine, and instead is accidentally calling *back* to the
driver manager. I would guess that for every call made to the loaded
driver, the driver manager is not expecting any more of its code to
execute until control returns from the loaded driver routine.
> Sounds like there is a lot more going on here than meets the eye. Or
> maybe the Windows driver manager or the windows linking process is
> covering up some things.
Yup.
- Tom
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: lockhart@alumni.caltech.edu, byronn@insightdist.com, avd@gcom.ru, ggryschuk@scf.sk.ca
Subject: Re: [INTERFACES] iodbc interface on Unix
In-Reply-To: <35DBAE9B.331FB800@alumni.caltech.edu>
* 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