From: Blake McBride <blake@mcbride.name>
To: Hiroshi Inoue <inoue@tpf.co.jp>
To: pgsql-odbc@postgresql.org
Subject: SQLStatistics problem
Date: Wed, 23 Aug 2006 15:04:35 -0500
Message-ID: <7.0.1.0.2.20060823145234.0255e7e0@mcbride.name> (raw)
Greetings,
I am having a problem with SQLStatistics. I am using Hiroshi Inoue's
latest ODBC DLL's, PostgreSQL 8.1.2, all on Windows XP.
I issued the following SQL statements:
ALTER TABLE ONLY rights
ADD CONSTRAINT rights_id_key UNIQUE (id);
CREATE UNIQUE INDEX blake ON rights (deny_flag);
When I do a dump of the database the two statements create different
results as I would expect. By "different results" I mean the dump uses
different commands to re-create each of those things. One is a constraint
and the other an index.
When I use ODBC SQLStatistics I get back records for each of those statements
but there is no way to distinguish the constraint from the index.
Any help would be appreciated.
Sincerely,
Blake McBride
blake@mcbride.name
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: blake@mcbride.name, inoue@tpf.co.jp
Subject: Re: SQLStatistics problem
In-Reply-To: <7.0.1.0.2.20060823145234.0255e7e0@mcbride.name>
References: <7.0.1.0.2.20060823145234.0255e7e0@mcbride.name>
* 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