diff options
| author | Bruce Momjian <bruce@momjian.us> | 1997-09-12 04:09:08 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1997-09-12 04:09:08 +0000 |
| commit | 1ea01720d53095641205753e766180508ee4d5ad (patch) | |
| tree | c62d9d2be8a531e182d89bb0cef172a80d43c00c /src/backend/access/index/indexam.c | |
| parent | 6e04b4b20f73b2512fc29353ca706bdb635d7e47 (diff) | |
| download | postgresql-1ea01720d53095641205753e766180508ee4d5ad.tar.gz | |
heapattr functions now return a Datum, not char *.
Diffstat (limited to 'src/backend/access/index/indexam.c')
| -rw-r--r-- | src/backend/access/index/indexam.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c index c2b1642caf..d28b79e202 100644 --- a/src/backend/access/index/indexam.c +++ b/src/backend/access/index/indexam.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.16 1997/09/08 21:41:06 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/index/indexam.c,v 1.17 1997/09/12 04:07:15 momjian Exp $ * * INTERFACE ROUTINES * index_open - open an index relation by relationId @@ -385,11 +385,11 @@ GetIndexValue(HeapTuple tuple, for (i = 0; i < FIgetnArgs(fInfo); i++) { - attData[i] = (Datum) heap_getattr(tuple, - buffer, - attrNums[i], - hTupDesc, - attNull); + attData[i] = heap_getattr(tuple, + buffer, + attrNums[i], + hTupDesc, + attNull); } returnVal = (Datum) fmgr_array_args(FIgetProcOid(fInfo), FIgetnArgs(fInfo), @@ -400,8 +400,8 @@ GetIndexValue(HeapTuple tuple, } else { - returnVal = (Datum) heap_getattr(tuple, buffer, attrNums[attOff], - hTupDesc, attNull); + returnVal = heap_getattr(tuple, buffer, attrNums[attOff], + hTupDesc, attNull); } return returnVal; } |
