SQLStatistics problem

Поиск
Список
Период
Сортировка
От Blake McBride
Тема SQLStatistics problem
Дата
Msg-id 7.0.1.0.2.20060823145234.0255e7e0@mcbride.name
обсуждение исходный текст
Ответы Re: SQLStatistics problem
Список pgsql-odbc

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

В списке pgsql-odbc по дате отправления:

Предыдущее
От: João Eduardo Maciel Neto
Дата:
Сообщение: what unregister of group ?
Следующее
От: Andreas
Дата:
Сообщение: Re: ADO and sequences