diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-05-26 12:57:23 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-05-26 12:57:23 +0000 |
commit | 278bbf4572996e4097eac0c0d169dea1616ad0b6 (patch) | |
tree | 240f44ee8338d26ad0ff7ce8d8e9733a0e3880df /src/backend/access/common/heapvalid.c | |
parent | 180186272ac16c74d2a822fee3878e576f265d08 (diff) | |
download | postgresql-278bbf4572996e4097eac0c0d169dea1616ad0b6.tar.gz |
Make functions static or NOT_USED as appropriate.
Diffstat (limited to 'src/backend/access/common/heapvalid.c')
-rw-r--r-- | src/backend/access/common/heapvalid.c | 34 |
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 d716e77f4f..0000000000 --- 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; -} |