Re: Locking entire database

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Locking entire database
Дата
Msg-id 20070915132456.GA16353@depesz.com
обсуждение исходный текст
Ответ на Locking entire database  (Panagiotis Pediaditis <pped@ics.forth.gr>)
Ответы Re: Locking entire database  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-general
On Fri, Sep 14, 2007 at 04:48:08PM +0300, Panagiotis Pediaditis wrote:
> Is there some way of locking all database tables in a transaction
> without knowing their names
> or even better just locking the entire database? I know this is bad
> tactics but there is a specific
> case where i need it. Can it be done?

there is no such thing, but you can use "advisory locks" to this
purpose.

depesz

--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA.  here's my CV!" :)
http://www.depesz.com/ - blog dla ciebie (i moje CV)

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: strange TIME behaviour
Следующее
От: rihad
Дата:
Сообщение: Re: strange TIME behaviour