Revert "Prevent panic during shutdown checkpoint"

Andres Freund <andres@anarazel.de>

Commit: 703f148e98ecb4b299fdad403fc5a1de51220714
Author: Andres Freund <andres@anarazel.de>
Date: 2017-06-06T02:18:15Z
Releases: 10.0
Revert "Prevent panic during shutdown checkpoint"

This reverts commit 086221cf6b1727c2baed4703c582f657b7c5350e, which
was made to master only.

The approach implemented in the above commit has some issues.  While
those could easily be fixed incrementally, doing so would make
backpatching considerably harder, so instead first revert this patch.

Discussion: https://postgr.es/m/20170602002912.tqlwn4gymzlxpvs2@alap3.anarazel.de

Files

Documentation touched

Discussion