X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 56ECC9FB1F2 for ; Wed, 23 Aug 2006 17:04:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 70880-03 for ; Wed, 23 Aug 2006 20:04:05 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id F28629FB1EC for ; Wed, 23 Aug 2006 17:04:04 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from mail.arahant.com (mail.arahant.com [207.191.101.92]) by svr4.postgresql.org (Postfix) with ESMTP id 102A65AF887 for ; Wed, 23 Aug 2006 20:04:03 +0000 (GMT) Received: from Blake-Alien.mcbride.name (unknown [192.168.1.104]) by mail.arahant.com (Postfix) with ESMTP id 1D7FC29E67; Wed, 23 Aug 2006 15:03:58 -0500 (CDT) Message-Id: <7.0.1.0.2.20060823145234.0255e7e0@mcbride.name> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Wed, 23 Aug 2006 15:04:35 -0500 To: Hiroshi Inoue , pgsql-odbc@postgresql.org From: Blake McBride Subject: SQLStatistics problem Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====================_21254937==.ALT" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.817 tagged_above=0 required=5 tests=HTML_MESSAGE, SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: *** X-Archive-Number: 200608/85 X-Sequence-Number: 8049 --=====================_21254937==.ALT Content-Type: text/plain; charset="us-ascii"; format=flowed 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 --=====================_21254937==.ALT Content-Type: text/html; charset="us-ascii"
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
--=====================_21254937==.ALT--