Don't reject ROW_MARK_REFERENCE rowmarks for materialized views.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bf4052faa1c289883799d49f063715161a8a4f1e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-03-06T16:37:02Z
Releases: 9.4.0
Don't reject ROW_MARK_REFERENCE rowmarks for materialized views.

We should allow this so that matviews can be referenced in UPDATE/DELETE
statements in READ COMMITTED isolation level.  The requirement for that
is that a re-fetch by TID will see the same row version the query saw
earlier, which is true of matviews, so there's no reason for the
restriction.  Per bug #9398.

Michael Paquier, after a suggestion by me

Files