Re: Index names not consistent

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index names not consistent
Дата
Msg-id 1778.1298480974@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Index names not consistent  (runner <runner@winning.com>)
Ответы Re: Index names not consistent  (runner <runner@winning.com>)
Список pgsql-general
runner <runner@winning.com> writes:
>  Running postgres 9.0.1 on Solaris 10 (Sparc)

> I am testing a development database before putting it in production.  The application install created the database
andthe indexes.  When I run psql and list the indexes \di I can count the number of indexes and see the names of the
indexes. If I run  

>      pg_dump -s databasename | grep INDEX

> I can also count the number of indexes and see the names of the indexes.  Both the number of indexes and the names of
theindexes differ when using these two methods to display index information.  Is this normal? 

It's really difficult to say with so little detail, but there's
certainly ways that that could happen.  pg_dump might create some
indexes with ALTER TABLE ADD CONSTRAINT commands, for example,
rather than syntax using the word INDEX.

            regards, tom lane

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

Предыдущее
От: runner
Дата:
Сообщение: Index names not consistent
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Finding Errors in .csv Input Data