summaryrefslogtreecommitdiff
path: root/src/backend/access
diff options
context:
space:
mode:
authorBruce Momjian1999-05-26 12:57:23 +0000
committerBruce Momjian1999-05-26 12:57:23 +0000
commit278bbf4572996e4097eac0c0d169dea1616ad0b6 (patch)
tree240f44ee8338d26ad0ff7ce8d8e9733a0e3880df /src/backend/access
parent180186272ac16c74d2a822fee3878e576f265d08 (diff)
Make functions static or NOT_USED as appropriate.
Diffstat (limited to 'src/backend/access')
-rw-r--r--src/backend/access/common/Makefile4
-rw-r--r--src/backend/access/common/heapvalid.c34
2 files changed, 2 insertions, 36 deletions
diff --git a/src/backend/access/common/Makefile b/src/backend/access/common/Makefile
index 5b188808e87..00e2562ea44 100644
--- a/src/backend/access/common/Makefile
+++ b/src/backend/access/common/Makefile
@@ -4,7 +4,7 @@
# Makefile for access/common
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/backend/access/common/Makefile,v 1.12 1998/07/26 04:30:16 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/backend/access/common/Makefile,v 1.13 1999/05/26 12:55:05 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -17,7 +17,7 @@ ifdef MULTIBYTE
CFLAGS+= $(MBFLAGS)
endif
-OBJS = heaptuple.o heapvalid.o indextuple.o indexvalid.o printtup.o \
+OBJS = heaptuple.o indextuple.o indexvalid.o printtup.o \
scankey.o tupdesc.o
all: SUBSYS.o
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;
-}