Re: Rules

From: Einar Karttunen <ekarttun(at)cs(dot)Helsinki(dot)FI>
To: Seth Milder <mrseth(at)physics(dot)gmu(dot)edu>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Rules
Date: 2001-11-07 13:27:57
Message-ID: 20011107152757.A13991@cs.helsinki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, Nov 06, 2001 at 10:27:13AM -0500, Seth Milder wrote:
> Hi list,
>
> I would like to create a rule to generate running statistics on other
> tables. The problem is, after I create a rule, I cannot view it. Is
> there a way to display or edit rules in postgres? Also are rules permanent?
>
You can get a listing of all rules with:
SELECT * FROM pg_rules;
To delete a rule use simply:
DROP RULE rulename;

- Einar Karttunen

In response to

  • Rules at 2001-11-06 15:27:13 from Seth Milder

Browse pgsql-novice by date

  From Date Subject
Next Message Jason Earl 2001-11-07 14:58:30 Re:
Previous Message calios 2001-11-07 05:16:43