postgresql/src/backend/commands
Kevin Grittner c5bf7a2052 WAL-log the extension of a new empty MV heap which is being populated.
This page with no tuples is used to distinguish an MV containing a
zero-row resultset of its backing query from an MV which has not
been populated by its backing query.  Unless WAL-logged, recovery
and hot standby don't work correctly with what should be an empty
but scannable materialized view.

Fixes bugs reported by Fujii Masao in testing MVs on hot standby.
2013-03-06 17:15:34 -06:00
..
Makefile Add a materialized view relations. 2013-03-03 18:23:31 -06:00
aggregatecmds.c Refactor ALTER some-obj RENAME implementation 2013-01-21 12:06:41 -03:00
alter.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
analyze.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
async.c Fix bogus when-to-deregister-from-listener-array logic. 2013-02-13 12:48:05 -05:00
cluster.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
collationcmds.c Refactor ALTER some-obj RENAME implementation 2013-01-21 12:06:41 -03:00
comment.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
constraint.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
conversioncmds.c Refactor ALTER some-obj RENAME implementation 2013-01-21 12:06:41 -03:00
copy.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
createas.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
dbcommands.c Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
define.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
discard.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
dropcmds.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
event_trigger.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
explain.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
extension.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
foreigncmds.c Refactor ALTER some-obj RENAME implementation 2013-01-21 12:06:41 -03:00
functioncmds.c Refactor ALTER some-obj RENAME implementation 2013-01-21 12:06:41 -03:00
indexcmds.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
lockcmds.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
matview.c WAL-log the extension of a new empty MV heap which is being populated. 2013-03-06 17:15:34 -06:00
opclasscmds.c Allow CREATE TABLE IF EXIST so succeed if the schema is nonexistent 2013-01-26 13:24:50 -05:00
operatorcmds.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
portalcmds.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
prepare.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
proclang.c Refactor ALTER some-obj RENAME implementation 2013-01-21 12:06:41 -03:00
schemacmds.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
seclabel.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
sequence.c Improve concurrency of foreign key locking 2013-01-23 12:04:59 -03:00
tablecmds.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
tablespace.c Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
trigger.c Allow CREATE TABLE IF EXIST so succeed if the schema is nonexistent 2013-01-26 13:24:50 -05:00
tsearchcmds.c Refactor ALTER some-obj RENAME implementation 2013-01-21 12:06:41 -03:00
typecmds.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
user.c Add ALTER ROLE ALL SET command 2013-02-17 23:45:36 -05:00
vacuum.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
vacuumlazy.c Correct tense in log message 2013-02-23 23:30:14 -05:00
variable.c Update copyrights for 2013 2013-01-01 17:15:01 -05:00
view.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00