Thread: pgsql: Make sure we only try to free snapshots that have been passed

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

From
alvherre@postgresql.org (Alvaro Herrera)
Date:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/storage/ipc:
        procarray.c (r1.44 -> r1.45)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c?r1=1.44&r2=1.45)
    pgsql/src/backend/utils/time:
        snapmgr.c (r1.3 -> r1.4)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/time/snapmgr.c?r1=1.3&r2=1.4)