pgsql: Acquire appropriate locks when rewriting during RMV.
pgsql: Acquire appropriate locks when rewriting during RMV.
От:
Kevin Grittner <kgrittn@postgresql.org>
Дата:
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 Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/b21aed3964794f3ebfbfee9324badf1430b1efbc Modified Files -------------- src/backend/commands/matview.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)