From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000745 ] SQLStatistics does not return indices based on expression
Date: Fri, 20 Oct 2006 02:07:45 +0000 (UTC)
Message-ID: <20061020020745.D9BF5216D50@pgfoundry.org> (raw)
Bugs item #1000745, was opened at 2006-10-05 09:41
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000745&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Dmitriy Ivanov (divanov)
>Assigned to: Hiroshi Inoue (hinoue)
Summary: SQLStatistics does not return indices based on expression
Initial Comment:
Driver 08.02.0103 ANSI. After executing
CREATE UNIQUE INDEX employee_name_idx
ON employee (upper(last_name || ' ' || first_name));
I can see employee_name_idx in pgAdminIII, DROP INDEX also works, but SQLStatistics does not mention it.
----------------------------------------------------------------------
>Comment By: Hiroshi Inoue (hinoue)
Date: 2006-10-20 02:07
Message:
Could you try the attached dll at #100759(SQLGetInfo(SQL_NULL_COLLATION) ..) ?
regards,
Hiroshi Inoue
----------------------------------------------------------------------
Comment By: Dmitriy Ivanov (divanov)
Date: 2006-10-09 10:44
Message:
RTFM: Checking the "Recognize Unique Indexes" box makes
SQLStatistics return 0 (SQL_FALSE). Sorry about my last
comment.
Nevertheless, indices based on expression still are not
mentioned.
----------------------------------------------------------------------
Comment By: Dmitriy Ivanov (divanov)
Date: 2006-10-05 10:46
Message:
Moreover, SQLStatistics returns 1 (SQL_TRUE) in the
NON_UNIQUE column for
1) indices created explicitly via CREATE UNIQUE INDEX,
2) implicitly created primary keys.
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000745&group_id=1000125
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: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1000745 ] SQLStatistics does not return indices based on expression
In-Reply-To: <20061020020745.D9BF5216D50@pgfoundry.org>
References: <20061020020745.D9BF5216D50@pgfoundry.org>
* 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