Re: Reindex concurrently

Поиск
Список
Период
Сортировка
От SOzcn
Тема Re: Reindex concurrently
Дата
Msg-id CAJyV5Aa8kGuDD5z6RkKbTjA+V1nMiZZHkkZeRRCJxQ26WHJVYw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Reindex concurrently  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
Cool!

I'll do it with bash. Cheers!

David G. Johnston <david.g.johnston@gmail.com>, 13 Ara 2023 Çar, 21:46 tarihinde şunu yazdı:
On Wednesday,
According to my research, the only way to do this is to write a bash script in Linux and insert it with the loop.

Right.  It is fundamentally impossible to store something in the database capable of executing multiple commands and not execute it within a normal transaction.  The maintenance work that cannot be done within a transaction must be sourced externally and executed in an implicit transaction that auto-commits after the command finishes.

David J.

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

Предыдущее
От: Rajesh Kumar
Дата:
Сообщение: Re: Verify data after backup and restore
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Verify data after backup and restore