Re: Preventing DELETEs

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: "Rajesh Kumar Mallah(dot)" <mallah(at)trade-india(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Preventing DELETEs
Date: 2002-09-26 19:09:32
Message-ID: 1033067377.6610.5.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

In psuedo-code : create rule on mytable on delete return null

Robert Treat

On Thu, 2002-09-26 at 15:00, Rajesh Kumar Mallah. wrote:
> Hi ,
>
> I have a created a database and a table in it,
>
> I want to prevent "DELETES" on the table in this
> database by everyone except superuser postgres.
> even by me (the creator of this database and table)
>
>
> I have tried in many ways (ALTER TABLE REVOKE DELETE .. etc etc)
>
> but i always end up with having the permission
>
>
> can any one tell me how the prevention can be accomplished?
>
> thanks in advance.
>
> regds
> mallah.
>
>
>
> --
> Rajesh Kumar Mallah,
> Project Manager (Development)
> Infocom Network Limited, New Delhi
> phone: +91(11)6152172 (221) (L) ,9811255597 (M)
>
> Visit http://www.trade-india.com ,
> India's Leading B2B eMarketplace.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Kevin Traub 2002-09-26 19:12:38 Help tuning query
Previous Message dima 2002-09-26 19:00:26 Re: Preventing DELETEs