Re: Can't Figure Out Where Rows Are Going

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: HH <lists(at)lastonepicked(dot)com>
Cc: Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can't Figure Out Where Rows Are Going
Date: 2006-05-08 00:22:53
Message-ID: 15978.1147047773@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

HH <lists(at)lastonepicked(dot)com> writes:
> Would it be possible to create a constraint that makes rows of a certain
> table impossible to delete?

REVOKE DELETE ON foo FROM ...

This assumes you don't run your apps as database superuser of course.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message ana_cata_hylo 2006-05-08 06:07:52 Re: Google Summer of Code: Full Disjunctions
Previous Message Geoffrey 2006-05-07 22:53:57 Re: Using the REPLACE command to replace all vowels