Thread: Viewing existing rules.

Viewing existing rules.

From
Cheirie Shum
Date:
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.

Cheirie


Re: Viewing existing rules.

From
Jan Wieck
Date:
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