postgresql/src/include/rewrite
Tom Lane b15a6da292 Get rid of any toast table when converting a table to a view.
Also make sure other fields of the view's pg_class entry are appropriate
for a view; it shouldn't have relfrozenxid set for instance.

This ancient omission isn't believed to have any serious consequences in
versions 8.4-9.2, so no backpatch.  But let's fix it before it does bite
us in some serious way.  It's just luck that the case doesn't cause
problems for autovacuum.  (It did cause problems in 8.3, but that's out
of support.)

Andres Freund
2013-03-03 19:05:47 -05:00
..
prs2lock.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
rewriteDefine.h Add support for ALTER RULE ... RENAME TO. 2013-02-08 23:58:40 -05:00
rewriteHandler.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
rewriteManip.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
rewriteRemove.h Update copyrights for 2013 2013-01-01 17:15:01 -05:00
rewriteSupport.h Get rid of any toast table when converting a table to a view. 2013-03-03 19:05:47 -05:00