diff options
Diffstat (limited to 'src/backend/access/common')
-rw-r--r-- | src/backend/access/common/heaptuple.c | 8 | ||||
-rw-r--r-- | src/backend/access/common/indextuple.c | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index 6c2f72c6838..71d76a6fc2f 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.18 1996/12/09 01:22:17 bryanh Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.19 1997/08/19 21:28:49 momjian Exp $ * * NOTES * The old interface functions have been converted to macros @@ -39,6 +39,8 @@ #define register #endif /* !NO_ASSERT_CHECKING && sparc && sunos4 */ +static char *heap_getsysattr(HeapTuple tup, Buffer b, int attnum); + /* ---------------------------------------------------------------- * misc support routines * ---------------------------------------------------------------- @@ -335,7 +337,7 @@ heap_sysattrbyval(AttrNumber attno) * heap_getsysattr * ---------------- */ -char * +static char * heap_getsysattr(HeapTuple tup, Buffer b, int attnum) { switch (attnum) { @@ -740,6 +742,7 @@ heap_copytuple(HeapTuple tuple) return(newTuple); } +#ifdef NOT_USED /* ---------------- * heap_deformtuple * @@ -772,6 +775,7 @@ heap_deformtuple(HeapTuple tuple, nulls[i] = ' '; } } +#endif /* ---------------- * heap_formtuple 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, |