Re: I want to create a read only database for a specified user.

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: I want to create a read only database for a specified user.
Дата
Msg-id 0fbbe01a95c84e5bd944e215f521c3e9@biglumber.com
обсуждение исходный текст
Ответ на I want to create a read only database for a specified user.  (Chris Barnes <compuguruchrisbarnes@hotmail.com>)
Ответы Re: I want to create a read only database for a specified user.  (Chris Barnes <compuguruchrisbarnes@hotmail.com>)
Список pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> I now want to have this database or all tables capable of read-only.

ALTER DATABASE foo SET default_transaction_read_only = true;

Easy to work around, but may be good enough for your purposes.

- --
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201011161310
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkziyQgACgkQvJuQZxSWSsg3ZACgsFsux4OcE2yBXI7mnxHGOcEY
7rIAn04PqcesABqlSM9aqDa0w7vO03J2
=4Rr1
-----END PGP SIGNATURE-----



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Postgres forums ... take 2
Следующее
От: Chris Barnes
Дата:
Сообщение: Re: I want to create a read only database for a specified user.