Re: Using Postgresql as application server - Mailing list pgsql-general

From Craig Ringer
Subject Re: Using Postgresql as application server
Date
Msg-id 4E4C5683.1090003@ringerc.id.au
Whole thread Raw
In response to Re: Using Postgresql as application server  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On 18/08/2011 12:35 AM, John R Pierce wrote:
> On 08/17/11 7:40 AM, Merlin Moncure wrote:
>> GRANT/REVOKE only constrain read/write privileges to a database.
>
> at a table level, and even distinguishing between INSERT (writing new
> data) and UPDATING (updating existing data).

Column level, actually :-) and they can control read access as well as
write access.

Further control for writes can be applied using triggers that RAISE
EXCEPTION when  they don't like something.

--
Craig Ringer

pgsql-general by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Failover architecture
Next
From: Fujii Masao
Date:
Subject: Re: streaming replication: one problem & several questions