Complain politely about access temp/unlogged tables during recovery.
authorRobert Haas <rhaas@postgresql.org>
Wed, 8 Jun 2011 02:12:44 +0000 (22:12 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 8 Jun 2011 02:17:08 +0000 (22:17 -0400)
commit16925c1e1fa236e4d7d6c8b571890e7c777f75d7
tree35280775c8d6fcdd1ce5cdc066f189ef0889c876
parent135a507991c8ea9eca201cc084294a689ca24ba9
Complain politely about access temp/unlogged tables during recovery.

This has never been supported, but we previously let md.c issue the
complaint for us at whatever point we tried to examine the backing file.
Now we print a nicer error message.

Per bug #6041, reported by Emanuel, and extensive discussion with Tom
Lane over where to put the check.
src/backend/optimizer/util/plancat.c