Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Sean Chittenden <sean(at)chittenden(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?
Date: 2003-07-31 09:01:57
Message-ID: Pine.LNX.4.56.0307311030080.1729@krusty.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers pgsql-patches

Sean Chittenden writes:

> At the very least, it's an easier way of guaranteeing a READ ONLY
> database. Securing a database with GRANT/REVOKE can be tedious and
> error prone.

A database is already secure from a new user by default: He cannot read or
write or create anything except temporary tables and possibly the public
schema. Setting him "read only" isn't going to change anything, because
he still can't actually read anything. Before he can do that, the
administrator needs to grant him SELECT privileges. And after that,
there is still no difference between "read only" and "read write", because
the user still can't write anything.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Peter Eisentraut 2003-07-31 09:02:01 Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?
Previous Message Bruce Momjian 2003-07-31 01:55:28 Re: What I would say if someone asked me about no win32

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2003-07-31 09:02:01 Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?
Previous Message Peter Eisentraut 2003-07-31 09:01:51 Re: patch queue

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2003-07-31 09:02:01 Re: [PATCHES] [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?
Previous Message Dave Allen 2003-07-31 07:11:07 Check for failed memory allocations in libpq