aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/common/heapvalid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access/common/heapvalid.c')
-rw-r--r--src/backend/access/common/heapvalid.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/backend/access/common/heapvalid.c b/src/backend/access/common/heapvalid.c
deleted file mode 100644
index d716e77f4ff..00000000000
--- a/src/backend/access/common/heapvalid.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * heapvalid.c
- * heap tuple qualification validity checking code
- *
- * Copyright (c) 1994, Regents of the University of California
- *
- *
- * IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/common/Attic/heapvalid.c,v 1.23 1999/02/13 23:14:11 momjian Exp $
- *
- *-------------------------------------------------------------------------
- */
-
-#include <postgres.h>
-
-#include <access/valid.h>
-#include <access/xact.h>
-
-/*
- * TupleUpdatedByCurXactAndCmd() -- Returns true if this tuple has
- * already been updated once by the current transaction/command
- * pair.
- */
-bool
-TupleUpdatedByCurXactAndCmd(HeapTuple t)
-{
- if (TransactionIdEquals(t->t_data->t_xmax,
- GetCurrentTransactionId()) &&
- CommandIdGEScanCommandId(t->t_data->t_cmax))
- return true;
-
- return false;
-}