Viewing existing rules.

Started by Cheirie Shumabout 24 years ago2 messagesgeneral
Jump to latest
#1Cheirie Shum
cshum@cats.ucsc.edu

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

#2Jan Wieck
JanWieck@Yahoo.com
In reply to: Cheirie Shum (#1)
Re: Viewing existing rules.

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