]> granicus.if.org Git - postgresql/commit
Acquire appropriate locks when rewriting during RMV.
authorKevin Grittner <kgrittn@postgresql.org>
Sun, 3 Nov 2013 00:18:08 +0000 (19:18 -0500)
committerKevin Grittner <kgrittn@postgresql.org>
Sun, 3 Nov 2013 00:18:08 +0000 (19:18 -0500)
commit2a781d57dcd027df32d15ee2378b84d0c4d005d1
treef1641b649abfbd6fc8e927b658bbef01e50c6fe0
parentbe420fa02e69f084a0eeac6d2cb5424551aad495
Acquire appropriate locks when rewriting during RMV.

Since the query has not been freshly parsed when executing REFRESH
MATERIALIZED VIEW, locks must be explicitly taken before rewrite.

Backpatch to 9.3.

Andres Freund
src/backend/commands/matview.c