]> granicus.if.org Git - postgresql/commit
Fix subquery reference to non-populated MV in CMV.
authorKevin Grittner <kgrittn@postgresql.org>
Sat, 2 Nov 2013 23:38:17 +0000 (18:38 -0500)
committerKevin Grittner <kgrittn@postgresql.org>
Sat, 2 Nov 2013 23:38:17 +0000 (18:38 -0500)
commitbe420fa02e69f084a0eeac6d2cb5424551aad495
tree9b8a5ba9ac079a89461faf6f8415b7139f15a5fd
parent24ace4053d42e2c48af8c15d598622e488fb9502
Fix subquery reference to non-populated MV in CMV.

A subquery reference to a matview should be allowed by CREATE
MATERIALIZED VIEW WITH NO DATA, just like a direct reference is.

Per bug report from Laurent Sartran.

Backpatch to 9.3.
src/backend/executor/execMain.c
src/test/regress/expected/matview.out
src/test/regress/sql/matview.sql