| От | jashobanta.mahapatra@mahindracomviva.com |
|---|---|
| Тема | [DOCS] postgres index rebuild |
| Дата | |
| Msg-id | 20170525123842.27681.14358@wrigleys.postgresql.org обсуждение |
| Ответы |
Re: [DOCS] postgres index rebuild
|
| Список | pgsql-docs |
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/9.3/static/routine-reindex.html Description: Hi, As per the doc provided by postgres, for rebuild index we can do concurrently which doesn't take any lock. 1)create new index concurrently with different name 2)drop old index 3)rename new index with old index name my question is I was trying to keep all the queries(create, drop, alter) in a function. And 'll call the function when required. But i got below error "CREATE INDEX CONCURRENTLY cannot be executed from a function or multi-command string" Please help me on this Thanks, jasho
В списке pgsql-docs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера