Re: lock entire database

Поиск
Список
Период
Сортировка
От Ron St-Pierre
Тема Re: lock entire database
Дата
Msg-id 4113A48C.1040406@syscor.com
обсуждение исходный текст
Ответ на lock entire database  (Benjamin <benjamin@netyantra.com>)
Ответы Re: lock entire database  (Steve Tucknott <steve@retsol.co.uk>)
Список pgsql-novice
Benjamin wrote:

>
> In PGSQL, is it possible to lock the entire database??!!

Not that I know of, but why would you want to anyway?

>
> This could be done with locking with individual table locking, but any
> way to lock the entire db??
> If this is the only way, how do i get the listing of the tables? thru
> '\d' ?? and then 'cut' or 'sed ' on it to get the individual table names?

Check out the docs at
http://www.postgresql.org/docs/7.4/static/app-psql.html to see the psql
commands. With the \d you can see just the tables, views, etc (eg \dt).
Ron



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: take endless time to MAKE on RH Linux 9
Следующее
От: reina_ga@hotmail.com (Tony Reina)
Дата:
Сообщение: Re: inserting multiple rows