postgresql/contrib/pg_upgrade
Kevin Grittner 3bf3ab8c56 Add a materialized view relations.
A materialized view has a rule just like a view and a heap and
other physical properties like a table.  The rule is only used to
populate the table, references in queries refer to the
materialized data.

This is a minimal implementation, but should still be useful in
many cases.  Currently data is only populated "on demand" by the
CREATE MATERIALIZED VIEW and REFRESH MATERIALIZED VIEW statements.
It is expected that future releases will add incremental updates
with various timings, and that a more refined concept of defining
what is "fresh" data will be developed.  At some point it may even
be possible to have queries use a materialized in place of
references to underlying tables, but that requires the other
above-mentioned features to be working first.

Much of the documentation work by Robert Haas.
Review by Noah Misch, Thom Brown, Robert Haas, Marko Tiikkaja
Security review by KaiGai Kohei, with a decision on how best to
implement sepgsql still pending.
2013-03-03 18:23:31 -06:00
..
.gitignore pg_upgrade: Add new generated file to .gitignore 2012-03-20 20:40:31 +02:00
IMPLEMENTATION Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
Makefile Add pg_upgrade --jobs parameter 2012-12-26 19:26:30 -05:00
TESTING Remove whitespace from end of lines 2012-05-15 22:19:41 +03:00
check.c pg_upgrade: conditionally create cluster delete script 2013-02-14 10:53:03 -05:00
controldata.c Improve pg_upgrade commentary on multixact change 2013-02-28 16:29:17 -03:00
dump.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
exec.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
file.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
function.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
info.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
option.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
page.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
parallel.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_upgrade.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
pg_upgrade.h Improve pg_upgrade commentary on multixact change 2013-02-28 16:29:17 -03:00
relfilenode.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
server.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
tablespace.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
test.sh Extend and improve use of EXTRA_REGRESS_OPTS. 2013-01-12 08:28:58 -05:00
util.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
version.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
version_old_8_3.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00