OSDN Git Service

Make sure we only try to free snapshots that have been passed through
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 11 Jul 2008 02:10:14 +0000 (02:10 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 11 Jul 2008 02:10:14 +0000 (02:10 +0000)
commit110147653aebe8eba9a42559e3737ac0d48d107f
treefa1ed0f6f69effad15b366709ffb84169f5fd85e
parent0c2914d4cb56923933b5a710d9ce84c275065594
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.
src/backend/storage/ipc/procarray.c
src/backend/utils/time/snapmgr.c