Clean up backend-exit-time cleanup behavior. Use on_shmem_exit callbacks

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

Commit: a626b78c8957f50ae6345015b249e996d9aab55d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-12-18T00:44:50Z
Releases: 7.1.1
Clean up backend-exit-time cleanup behavior.  Use on_shmem_exit callbacks
to ensure that we have released buffer refcounts and so forth, rather than
putting ad-hoc operations before (some of the calls to) proc_exit.  Add
commentary to discourage future hackers from repeating that mistake.

Files