Skip site navigation (1) Skip section navigation (2)

[ psqlodbc-Bugs-1000745 ] SQLStatistics does not return indices based on expression

From: <noreply(at)pgfoundry(dot)org>
To: noreply(at)pgfoundry(dot)org
Subject: [ psqlodbc-Bugs-1000745 ] SQLStatistics does not return indices based on expression
Date: 2006-10-20 02:07:45
Message-ID: 20061020020745.D9BF5216D50@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-odbc
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

pgsql-odbc by date

Next:From: noreplyDate: 2006-10-20 03:56:20
Subject: [ psqlodbc-Bugs-1000744 ] 08.02.01: Incorrect size returned for adVarWChar and adVarChar fields after Paremeters.Refresh.
Previous:From: noreplyDate: 2006-10-20 02:04:07
Subject: [ psqlodbc-Bugs-1000759 ] SQLGetInfo(SQL_NULL_COLLATION) returns SQL_NC_END instead of SQL_NC_HIGH

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group