Re: Prevent from Deletion - Mailing list pgsql-general

From Ron Johnson
Subject Re: Prevent from Deletion
Date
Msg-id 1062515828.7340.153.camel@haggis
Whole thread Raw
In response to Prevent from Deletion  (Alex <alex@meerkatsoft.com>)
Responses Re: Prevent from Deletion
List pgsql-general
On Sun, 2003-08-31 at 22:07, Alex wrote:
> Hi,
> I have tables that have default records that must not be deleted or
> modified.
> Is there an easy way to do this. Like setting a trigger on the Primary
> key value ?

How about revoking DELETE and UPDATE privileges from all users
except the DBA?

--
-----------------------------------------------------------------
Ron Johnson, Jr. ron.l.johnson@cox.net
Jefferson, LA USA

"Those who would give up essential Liberty to purchase a little
temporary safety, deserve neither Liberty nor safety." or
something like that
Ben Franklin, maybe


pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: About GPL and proprietary software
Next
From: Dennis Gearon
Date:
Subject: Re: Prevent from Deletion