Skip site navigation (1) Skip section navigation (2)

Re: "list index out of range" in C++ Builder 4

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Byron Nikolaidis <byron(dot)nikolaidis(at)home(dot)com>
Cc: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, Tibor Laszlo <ltibor(at)mail(dot)tiszanet(dot)hu>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: "list index out of range" in C++ Builder 4
Date: 2000-04-02 21:06:03
Message-ID: 38E7B63B.C184B7B1@alumni.caltech.edu (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfaces
> > OK, here is a patch to help fix up trouble with indices and primary
> > keys in the ODBC interface.
> From what I remember, not too many things use SQLPrimaryKeys, instead
> they use SQLStatistics to get the key info along with other more
> detailed information about an index.  Originally, we never even
> supported SQLPrimaryKeys.   Only recently, we added support for it along
> with SQLForeignKeys.  But that was then, this is now. :)
> And Thomas, is your patch compatible with the other versions of Postgres
> the odbc driver is supposed to support (it still supports all the way
> back to 6.2), or do we no longer care about that?

Hmm. The patch is not backward compatible. Presumably there is
provision in the code to know what version of DBMS to connect to? In
that case, I can probably carry along two different queries and a few
differences in handling the OID results.

Suggestions?

> If you think your patch is working, I could check out the cvs code,
> compile it on windows, and post the dll.

I'll try poking at it some more. Let me know if you have some tips or
want to do this yourself (we're trying to get a v7.0 release in the
next couple of weeks).

Regards.

                       - Thomas

-- 
Thomas Lockhart				lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

pgsql-hackers by date

Next:From: Tom LaneDate: 2000-04-02 21:13:03
Subject: 7.0 release notes should call out incompatible changes more clearly
Previous:From: Jeff MacDonaldDate: 2000-04-02 17:53:58
Subject: Re: Call for porting reports

pgsql-interfaces by date

Next:From: Dave PageDate: 2000-04-03 08:17:21
Subject: RE: pgAdmin problems
Previous:From: Byron NikolaidisDate: 2000-04-02 20:03:24
Subject: New odbc driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group