Re: Viewing existing rules. - Mailing list pgsql-general

From Jan Wieck
Subject Re: Viewing existing rules.
Date
Msg-id 200202051331.g15DV0802524@saturn.janwieck.net
Whole thread Raw
In response to Viewing existing rules.  (Cheirie Shum <cshum@cats.ucsc.edu>)
List pgsql-general
Cheirie Shum wrote:
> Hi,
>
>   How do i view the rules i've created for a certain table?  I don't see
> an obvious way to do this using pgaccess or sql.

    SELECT * FROM pg_rules WHERE tablename = 'certain';


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


pgsql-general by date:

Previous
From: Martín Marqués
Date:
Subject: Re: Solaris Install again...
Next
From: Doug McNaught
Date:
Subject: Re: Commit , Rollback