Re: Locking entire database

Поиск
Список
Период
Сортировка
От Sibte Abbas
Тема Re: Locking entire database
Дата
Msg-id bd6a35510709140748r2eab13b3p3d8ebbc908064a8f@mail.gmail.com
обсуждение исходный текст
Ответ на Locking entire database  (Panagiotis Pediaditis <pped@ics.forth.gr>)
Список pgsql-general
On 9/14/07, Panagiotis Pediaditis <pped@ics.forth.gr> wrote:
> Hello,
>
> 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?
>

AFAIK Locking the entire database may not be an option in postgresql.
However you can virtually restrict access to everyone to a particular
database via pg_hba.conf.

More details here
http://www.postgresql.org/docs/8.2/static/auth-pg-hba-conf.html

regards,
--
Sibte Abbas

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

Предыдущее
От: Panagiotis Pediaditis
Дата:
Сообщение: Re: Locking entire database
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Locking entire database