Re: read only connection

Поиск
Список
Период
Сортировка
От Jeff
Тема Re: read only connection
Дата
Msg-id 20031107081653.6d19fae2.threshar@torgo.978.org
обсуждение исходный текст
Ответ на read only connection  (Gaetano Mendola <mendola@bigfoot.com>)
Ответы Re: read only connection
Список pgsql-admin
On Thu, 06 Nov 2003 23:59:29 +0100
Gaetano Mendola <mendola@bigfoot.com> wrote:

> Already asked, I try again:
>
> 7.4 give the feature to have transaction in
> read only mode, is it possible give permission
> to an user to perform db connection in read only
> mode ?
>

create user readonlyuser;
revoke insert on [table] from readonlyuser
revoke update on [table] from readonlyuser
revoke delete on [table] from readonlyuser


you could do it with a group as well.

>
>
> Regards
> Gaetano Mendola
>
>
> ---------------------------(end of
> broadcast)--------------------------- TIP 5: Have you checked our
> extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html


--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

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

Предыдущее
От: "Christian Brosig"
Дата:
Сообщение: Out of buffer error
Следующее
От: Freddy Expósito Moreno
Дата:
Сообщение: Re: close connection