Make sure we only try to free snapshots that have been passed through
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/procarray.c | modified | +4 −1 |
| src/backend/utils/time/snapmgr.c | modified | +5 −5 |