| От | Scott Marlowe |
|---|---|
| Тема | Re: Drop Index and Create Index |
| Дата | |
| Msg-id | dcc563d10807220100h4f6a221ax2732970e1588cfca@mail.gmail.com обсуждение исходный текст |
| Ответ на | Drop Index and Create Index ("Giovanni Nervi" <giovanni.nervi@gmail.com>) |
| Список | pgsql-general |
On Tue, Jul 22, 2008 at 1:39 AM, Giovanni Nervi <giovanni.nervi@gmail.com> wrote: > Hi, > > I would like recreate all indexes on a database, the command reindex > is exclusive lock on table so I prefer the method drop index and > create index. Is there a script for extract the command for the create > index? I see pg_dump but it extract all object definitions. I see the > source of pgAdmin for extract the definition of index, so before to > begin to develop of a shell script for extract the definition of all > indexes, I ask to you if this script already exist. start with "select * from pg_indexes" and go from there.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера