Re: Rules and views (was Re: [HACKERS] Rules: 2nd patch)
Re: Rules and views (was Re: [HACKERS] Rules: 2nd patch)
От:
Keith Parks <emkxp01@mtcc.demon.co.uk>
Дата:
Hi, I vote to make them builtins too. Keith. Bruce Momjian > > > If nobody votes against, I would like to make them builtins > > as pg_get_ruledef() and pg_get_viewdef() and then setup the > > appropriate views (pg_rule and pg_view) in template1 by > > initdb like we do it with pg_user. It cannot break anything, > > except that a rule action the two functions cannot handle > > will make the new views unusable. But it would be a really > > powerful possibility for pg_dump or just useful to see what > > that damn event qual and parsetree's in pg_rewrite came from. > > > > Comments? > > > > Go, Jan, go. >