postgresql/src/backend
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
..
access Fix SQL function execution to be safe with long-lived FmgrInfos. 2013-03-03 17:39:58 -05:00
bootstrap Improve handling of ereport(ERROR) and elog(ERROR). 2013-01-13 18:40:09 -05:00
catalog Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
commands Add support for piping COPY to/from an external program. 2013-02-27 18:22:31 +02:00
executor Fix SQL function execution to be safe with long-lived FmgrInfos. 2013-03-03 17:39:58 -05:00
foreign Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
lib Update copyrights for 2013 2013-01-01 17:15:01 -05:00
libpq Update copyrights for 2013 2013-01-01 17:15:01 -05:00
main Update copyrights for 2013 2013-01-01 17:15:01 -05:00
nodes Add support for piping COPY to/from an external program. 2013-02-27 18:22:31 +02:00
optimizer Improve error message wording 2013-02-06 00:19:53 -03:00
parser Add support for piping COPY to/from an external program. 2013-02-27 18:22:31 +02:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Update copyrights for 2013 2013-01-01 17:15:01 -05:00
postmaster Remove useless variable 2013-02-21 11:46:46 -03:00
regex Add missing error check in regexp parser. 2013-02-27 10:40:03 -05:00
replication Cannot use WL_SOCKET_WRITEABLE without WL_SOCKET_READABLE. 2013-02-27 19:28:51 +02:00
rewrite Get rid of any toast table when converting a table to a view. 2013-03-03 19:05:47 -05:00
snowball Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage Add support for piping COPY to/from an external program. 2013-02-27 18:22:31 +02:00
tcop Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
tsearch Update copyrights for 2013 2013-01-01 17:15:01 -05:00
utils Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
nls.mk Split out XLog reading as an independent facility 2013-01-16 16:12:53 -03:00