pgsql: Make sure we only try to free snapshots that have been passed - Mailing list pgsql-committers

From alvherre@postgresql.org (Alvaro Herrera)
Subject pgsql: Make sure we only try to free snapshots that have been passed
Date
Msg-id 20080711021014.21C867549FD@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: neilc@postgresql.org (Neil Conway)
Date:
Subject: pgsql: Fix a few typos in comments in snapmgr.c, and sort header
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Allow binary-coercible types for cast function arguments and