diff options
author | Kevin Grittner <kgrittn@postgresql.org> | 2013-03-06 17:15:34 -0600 |
---|---|---|
committer | Kevin Grittner <kgrittn@postgresql.org> | 2013-03-06 17:15:34 -0600 |
commit | c5bf7a2052c8e7ebbd1ca3986525c3629d7345d1 (patch) | |
tree | f40088a4a14b0d63b6fea8d8d8d5ce38be562f1d /src/backend/executor/nodeHash.c | |
parent | 5141603ebd162a50c36583f1a80eceadc94ef25e (diff) | |
download | postgresql-c5bf7a2052c8e7ebbd1ca3986525c3629d7345d1.tar.gz postgresql-c5bf7a2052c8e7ebbd1ca3986525c3629d7345d1.zip |
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.
Diffstat (limited to 'src/backend/executor/nodeHash.c')
0 files changed, 0 insertions, 0 deletions