aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/common/indextuple.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-08-19 21:40:56 +0000
committerBruce Momjian <bruce@momjian.us>1997-08-19 21:40:56 +0000
commit1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (patch)
tree8d3a5dac9207f22c3afb8afb563d54f88774deb3 /src/backend/access/common/indextuple.c
parentb992e200b8872ecb6652ec85111995f8d4c5aee0 (diff)
downloadpostgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.tar.gz
postgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.zip
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
Diffstat (limited to 'src/backend/access/common/indextuple.c')
-rw-r--r--src/backend/access/common/indextuple.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/access/common/indextuple.c b/src/backend/access/common/indextuple.c
index 80e7c71c098..a71fc46dc98 100644
--- a/src/backend/access/common/indextuple.c
+++ b/src/backend/access/common/indextuple.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.14 1997/06/12 15:41:52 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.15 1997/08/19 21:28:50 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -27,6 +27,8 @@
#endif
static Size IndexInfoFindDataOffset(unsigned short t_info);
+static char *fastgetiattr(IndexTuple tup, int attnum,
+ TupleDesc att, bool *isnull);
/* ----------------------------------------------------------------
* index_ tuple interface routines
@@ -125,7 +127,7 @@ index_formtuple(TupleDesc tupleDescriptor,
* the same attribute descriptor will go much quicker. -cim 5/4/91
* ----------------
*/
-char *
+static char *
fastgetiattr(IndexTuple tup,
int attnum,
TupleDesc tupleDesc,