Re: how to list rules?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Oleg <evdakov(at)iwk(dot)uka(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to list rules?
Date: 2005-09-14 13:19:48
Message-ID: 20050914131948.GA24504@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Sep 14, 2005 at 10:05:15AM +0200, Oleg wrote:
> I am new to PostgreSQL. I am experementing with rules. There is a way to
> create and drop rules but I did not find a way to list all existing
> rules. How do I view rules that I have?

In psql "\d tablename" shows a table's rules; otherwise you could
query the pg_rules system view.

http://www.postgresql.org/docs/8.0/interactive/view-pg-rules.html

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message vinita bansal 2005-09-14 13:45:43 Backup and Restore mechanism in Postgres
Previous Message Stephen Frost 2005-09-14 13:16:50 Re: oracle's first_value function for postgres?