| От | Ron St-Pierre |
|---|---|
| Тема | Re: lock entire database |
| Дата | |
| Msg-id | 4113A48C.1040406@syscor.com обсуждение исходный текст |
| Ответ на | lock entire database (Benjamin <benjamin@netyantra.com>) |
| Ответы |
Re: lock entire database
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера