pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sbragion Denis <infotecn@tin.it>
To: pgsql-interfaces@postgreSQL.org
Subject: Odbc and Visual Basic
Date: Mon, 27 Apr 1998 10:26:27 +0200
Message-ID: <3.0.5.32.19980427102627.008acaa0@MBox.InfoTecna.com> (raw)

Hello,

first of all my compliments to Byron for the upcoming new ODBC driver.
Really good job. Now a little request. 
	One of the things that prevents wider use of PostODBC under Visual Basic
(at least v. 5.0) is the lack of a good index support in the ODBC driver
itself. Visual Basic requires that at least one unique index should be
available on a table to allow updates. Currently this is circumvented using
an Access database with all the tables linked in it and specifying at the
Access level wich is the unique key for the tables. Anyway, to use the
Visual Basic ODBCDirect functionality true index support is required to
allow udpates. Is it difficult to implement it ? 
	I saw there's a similar problem also in the OpenLink Postgres ODBC driver.
To implement the index functionality they used a dummy table with a special
procedure (buggy! I had to modify it myself to make it work) that took the
index list from the postgres system tables an put them in the dummy table.
Then, after running such procedure, the driver was able to report the index
list to Visual Basic. Of course the procedures needed to be run again every
time a new index was added. Things didn't work anyway because of other bugs
in the OpenLink drivers, but this is another story. 
	I think that if exists a procedure to put the index list in a table it
should exists also a procedure to get them directly from the Postgres
system tables and report them through the driver.
	Of course I'm ready to help and give any further information to help
implementing this ODBC functionality. I can also perform any test needed to
help developing it and, if needed, I can also try to find some little spare
time to help coding things.

Let me know.

Bye!

	Dr. Sbragion Denis
	InfoTecna
	Tel, Fax: +39 39 2324054
	URL: http://space.tin.it/internet/dsbragio



view thread (8+ messages)  latest in thread

Message-ID: <3.0.5.32.19980427102627.008acaa0@MBox.InfoTecna.com>
Permalink:  ../3.0.5.32.19980427102627.008acaa0@MBox.InfoTecna.com/
Also on:    postgresql.org/message-id/3.0.5.32.19980427102627.008acaa0@MBox.InfoTecna.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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: infotecn@tin.it
  Subject: Re: Odbc and Visual Basic
  In-Reply-To: <3.0.5.32.19980427102627.008acaa0@MBox.InfoTecna.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