Command Prompt, Inc.
pg_rules

42.40. pg_rules

The view pg_rules provides access to useful information about query rewrite rules.

Table 42-40. pg_rules Columns

NameTypeReferencesDescription
schemanamenamepg_namespace.nspnamename of schema containing table
tablenamenamepg_class.relnamename of table the rule is for
rulenamenamepg_rewrite.rulenamename of rule
definitiontext rule definition (a reconstructed creation command)

The pg_rules view excludes the ON SELECT rules of views; those can be seen in pg_views.


Powered by Mammoth PostgreSQL
Copyright © 2000-2009 Command Prompt, Inc. All Rights Reserved. All trademarks property of their respective owners.