Re: [SQL] postgres timeout.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] postgres timeout.
Дата
Msg-id 20369.1075308552@sss.pgh.pa.us
обсуждение исходный текст
Ответ на postgres timeout.  (Stef <svb@ucs.co.za>)
Список pgsql-performance
Stef <svb@ucs.co.za> writes:
> I'm trying to find out if there is a specific setting
> to make transactions time out faster in a scenario
> where there's an update on a table in a transaction
> block, and another update process tries to update
> the same column.

> It looks like the second process will wait until you
> end the transaction block in the first transaction.

You can use statement_timeout to limit the wait.

            regards, tom lane

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

Предыдущее
От: Stef
Дата:
Сообщение: postgres timeout.
Следующее
От: Stef
Дата:
Сообщение: Re: postgres timeout. [SOLVED]