diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-05-13 11:01:10 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-05-13 11:01:10 -0400 |
commit | ae6157164faf5ec1636a9acfe18bfd28a31db098 (patch) | |
tree | 6a55ed550d3fb39963fe32042fee7a78463fa42b /src | |
parent | 5850b20f58a594ac69f4f77b24cad94fc3bfd946 (diff) | |
download | postgresql-ae6157164faf5ec1636a9acfe18bfd28a31db098.tar.gz postgresql-ae6157164faf5ec1636a9acfe18bfd28a31db098.zip |
Remove useless assertion.
Here, snapshot->xcnt is an unsigned type, so it will always be
non-negative.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/time/snapmgr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c index a2cb4a037ff..f4bdabfd791 100644 --- a/src/backend/utils/time/snapmgr.c +++ b/src/backend/utils/time/snapmgr.c @@ -1480,7 +1480,6 @@ SerializeSnapshot(Snapshot snapshot, char *start_address) { SerializedSnapshotData *serialized_snapshot; - Assert(snapshot->xcnt >= 0); Assert(snapshot->subxcnt >= 0); serialized_snapshot = (SerializedSnapshotData *) start_address; |