Re: pg_rules view

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_rules view
Date: 2003-01-11 16:31:03
Message-ID: 5306.1042302663@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> I tried creating a rule like:
> create rule "_RETURN" as on select to asfd do instead select * from blah;
> And it worked.
> But it doesn't appear in pg_rules.

That's by design. pg_rules suppresses view rules. You'll find asfd in
pg_views, instead.

regards, tom lane

In response to

  • pg_rules view at 2003-01-11 09:46:37 from Christopher Kings-Lynne

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-01-11 19:36:24 Re: src/port/fseeko.c revision 1.9 broken on NetBSD
Previous Message Robert Treat 2003-01-11 15:16:18 Re: v7.3.1 psql against a v7.2.x database ...