]> granicus.if.org Git - postgresql/commit
Acquire appropriate locks when rewriting during RMV.
authorKevin Grittner <kgrittn@postgresql.org>
Sun, 3 Nov 2013 00:18:41 +0000 (19:18 -0500)
committerKevin Grittner <kgrittn@postgresql.org>
Sun, 3 Nov 2013 00:18:41 +0000 (19:18 -0500)
commitb21aed3964794f3ebfbfee9324badf1430b1efbc
treef2144de4f9704beb66c4561e145140edf91fdbc1
parentb2cd72cbbdd2a1b657d7dc874fcc9f1c1d83d8e3
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