pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Byron Nikolaidis <byron.nikolaidis@home.com>
Cc: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: Tibor Laszlo <ltibor@mail.tiszanet.hu>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: "list index out of range" in C++ Builder 4
Date: Sun, 02 Apr 2000 21:06:03 +0000
Message-ID: <38E7B63B.C184B7B1@alumni.caltech.edu> (raw)
References: <001501bf949d$38ff6060$2801007e@tpf.co.jp>
	<38DA3EB6.1448F04C@alumni.caltech.edu>
	<38DD546C.10127953@home.com>

> > 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@alumni.caltech.edu
South Pasadena, California



Message-ID: <38E7B63B.C184B7B1@alumni.caltech.edu>
Permalink:  ../38E7B63B.C184B7B1@alumni.caltech.edu/
Also on:    postgresql.org/message-id/38E7B63B.C184B7B1@alumni.caltech.edu

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lockhart@alumni.caltech.edu, byron.nikolaidis@home.com, Inoue@tpf.co.jp, ltibor@mail.tiszanet.hu, pgsql-hackers@postgresql.org
  Subject: Re: "list index out of range" in C++ Builder 4
  In-Reply-To: <38E7B63B.C184B7B1@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