Re: Exclusive lock for database rename

Поиск
Список
Период
Сортировка
От Jochem van Dieten
Тема Re: Exclusive lock for database rename
Дата
Msg-id f96a9b830511050147t312dda77p5e4fb9cc4ed94673@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Exclusive lock for database rename  ("Jim C. Nasby" <jnasby@pervasive.com>)
Ответы Re: Exclusive lock for database rename  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
On 11/4/05, Jim C. Nasby wrote:
>
> I would argue that in cases like this (and 'this' means just about any
> DDL, for starters) that it would be better not to block everyone until
> work can actually be done. Or at least make that an option.

Would it be possible to simulate this by manually trying to grab a
lock on a relation using NOWAIT in a loop or are the locks DDL
requires different from the ones acquired by the LOCK statement?

Jochem

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

Предыдущее
От: jtv@xs4all.nl
Дата:
Сообщение: Old interfaces directory in CVS tree?
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Reducing the overhead of NUMERIC data