Re: Extensions support for pg_dump, patch v27

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Cc: Itagaki Takahiro <itagaki.takahiro@gmail.com>, PostgreSQL-Hackers <pgsql-hackers@postgresql.org>
Date: 2011-02-04T20:34:47Z
Lists: pgsql-hackers
While I'm looking at this ... what is the rationale for treating rewrite
rules as members of extensions, ie, why does the patch touch
rewriteDefine.c?  ISTM a rule is a property of a table and could not
sensibly be an independent member of an extension.  If there is a use
for that, why are table constraints and triggers not given the same
treatment?

			regards, tom lane