Re: [GENERAL] "Canceling authentication due to timeout" with idletransaction and reindex

Поиск
Список
Период
Сортировка
Искать
От
Ron Johnson
Тема
Re: [GENERAL] "Canceling authentication due to timeout" with idletransaction and reindex
Дата
Msg-id
5f08454c-f052-eed6-0a7f-93f1d686ba10@cox.net
Список
Дерево обсуждения
[GENERAL] "Canceling authentication due to timeout" with idle transaction andreindex s19n <mailbox@s19n.net>
Re: [GENERAL] "Canceling authentication due to timeout" with idletransaction and reindex Justin Pryzby <pryzby@telsasoft.com>
Re: [GENERAL] "Canceling authentication due to timeout" with idletransaction and reindex Michael Paquier <michael.paquier@gmail.com>
On 09/15/2017 06:34 AM, Justin Pryzby wrote:
[snip]
> But you might consider: 1) looping around tables/indices rather than "REINDEX
> DATABASE", and then setting a statement_timeout=9s for each REINDEX statement;

Is there a way to do that within psql?  (Doing it from bash is trivial, but 
I'd rather do it from SQL.)

-- 
World Peace Through Nuclear Pacification



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
В списке pgsql-general по дате отправления
От: Francisco Olarte
Дата:
От: Justin Pryzby
Дата:
FAQ