Add support for REFRESH MATERIALIZED VIEW CONCURRENTLY.

Kevin Grittner <kgrittn@postgresql.org>

Commit: cc1965a99bf87005f431804bbda0f723887a04d6
Author: Kevin Grittner <kgrittn@postgresql.org>
Date: 2013-07-16T17:55:44Z
Releases: 9.4.0
Add support for REFRESH MATERIALIZED VIEW CONCURRENTLY.

This allows reads to continue without any blocking while a REFRESH
runs.  The new data appears atomically as part of transaction
commit.

Review questioned the Assert that a matview was not a system
relation.  This will be addressed separately.

Reviewed by Hitoshi Harada, Robert Haas, Andres Freund.
Merged after review with security patch f3ab5d4.

Files