Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

43.25. pg_rewrite

The catalog pg_rewrite stores rewrite rules for tables and views.

Table 43-25. pg_rewrite Columns

NameTypeReferencesDescription
rulenamename Rule name
ev_classoidpg_class.oidThe table this rule is for
ev_attrint2 The column this rule is for (currently, always zero to indicate the whole table)
ev_typechar  Event type that the rule is for: 1 = SELECT, 2 = UPDATE, 3 = INSERT, 4 = DELETE
is_insteadbool True if the rule is an INSTEAD rule
ev_qualtext  Expression tree (in the form of a nodeToString() representation) for the rule's qualifying condition
ev_actiontext  Query tree (in the form of a nodeToString() representation) for the rule's action

Note: pg_class.relhasrules must be true if a table has any rules in this catalog.

Who's Online
Guest Users: 9
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General