postgresql/src
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
..
backend Get rid of any toast table when converting a table to a view. 2013-03-03 19:05:47 -05:00
bin Add support for piping COPY to/from an external program. 2013-02-27 18:22:31 +02:00
common Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
include Get rid of any toast table when converting a table to a view. 2013-03-03 19:05:47 -05:00
interfaces Add support for piping COPY to/from an external program. 2013-02-27 18:22:31 +02:00
makefiles Blind attempt at fixing the non-MSVC Windows builds 2013-02-22 11:51:15 -03:00
pl Eliminate memory leaks in plperl's spi_prepare() function. 2013-03-01 21:34:17 -05:00
port Add standard file header comment to quotes.c. 2013-02-27 18:42:40 +02:00
template Remove _FORTIFY_SOURCE 2012-10-10 21:42:38 -04:00
test Get rid of any toast table when converting a table to a view. 2013-03-03 19:05:47 -05:00
timezone Add new timezone abbrevation "FET". 2013-01-14 14:45:40 -05:00
tools Exclude utils/probes.h and pg_trace.h from cpluspluscheck 2013-03-01 22:46:11 -05:00
tutorial Modernize string literal syntax in tutorial example. 2013-01-19 17:20:32 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.shlib Remove configure flag --disable-shared, as it is no longer used by any 2012-08-30 16:26:53 -04:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
nls-global.mk NLS: Use msgmerge --previous option 2012-12-13 23:12:12 -05:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00