Re: Locking for function creation

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Locking for function creation
Дата
Msg-id 45743EE6.9010606@archonet.com
обсуждение исходный текст
Ответ на Re: Locking for function creation  (Mark Morgan Lloyd <markMLl.pgsql-general@telemetry.co.uk>)
Список pgsql-general
Mark Morgan Lloyd wrote:
>
> If I might ask a related question- assuming that a client has grabbed a
> restrictive lock during a transaction that e.g. is create/replacing functions,
> what happens to other sessions that attempt to run a select or update- will they
> fail (i.e. an implicit NOWAIT) or will they wait until the lock is released?
> Does this vary depending on whether a select/update is within an explicit
> transaction?

They will wait without an explicit NOWAIT. This applies whether the
transaction is explicit or implicit.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Mark Morgan Lloyd
Дата:
Сообщение: Re: Locking for function creation
Следующее
От: wheel
Дата:
Сообщение: Re: Restore database from files (not dump files)?