Make sure we only try to free snapshots that have been passed through

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 110147653aebe8eba9a42559e3737ac0d48d107f
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2008-07-11T02:10:14Z
Releases: 8.4.0
Make sure we only try to free snapshots that have been passed through
CopySnapshot, per Neil Conway.  Also add a comment about the assumption in
GetSnapshotData that the argument is statically allocated.

Also, fix some more typos in comments in snapmgr.c.

Files

PathChange+/−
src/backend/storage/ipc/procarray.c modified +4 −1
src/backend/utils/time/snapmgr.c modified +5 −5