Fix another bit of unlogged-table-induced breakage.

Robert Haas <rhaas@postgresql.org>

Commit: c67bba992533acb1df0fd2f5c5164da2ac9543ae
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-09-21T14:48:29Z
Releases: 9.1.1
Fix another bit of unlogged-table-induced breakage.

Per bug #6205, reported by Abel Abraham Camarillo Ojeda.  This isn't a
particularly elegant fix, but I'm trying to minimize the chances of
causing yet another round of breakage.

Adjust regression tests to exercise this case.

Files