summaryrefslogtreecommitdiff
path: root/src/backend/access/heapam.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-08-13 01:32:26 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-08-13 01:32:26 +0000
commit9da9c0915a502f73be817f2185b453cea3a3e51d (patch)
tree43101d5cad391b3d9ab904f7cf8fb95e46525542 /src/backend/access/heapam.h
parent59f29714aa8d084bdb3f96b87ee03775d7e2b865 (diff)
Fixes:
Here's a small patch that my run-time checker whines about incessantly. The justification for the patch is along the lines of passing a NULL is allowed if you have an arguement that is a *POINTER* to something, but if the arguement is an array reference, it's not really a "pointer", so it can't be NULL. If you question this, I refer you to <URL:http://www.va.pubnix.com/staff/djm/lore/arrays-are-not-pointers> Anyways, here's the patch: -Kurt Submitted by: "Kurt J. Lidl" <lidl@va.pubnix.com>
Diffstat (limited to 'src/backend/access/heapam.h')
-rw-r--r--src/backend/access/heapam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heapam.h b/src/backend/access/heapam.h
index 9938dbeea77..e9b864ac12b 100644
--- a/src/backend/access/heapam.h
+++ b/src/backend/access/heapam.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: heapam.h,v 1.1.1.1 1996/07/09 06:21:08 scrappy Exp $
+ * $Id: heapam.h,v 1.2 1996/08/13 01:32:17 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -120,7 +120,7 @@ extern void heap_restrpos(HeapScanDesc sdesc);
extern Size ComputeDataSize(TupleDesc tupleDesc, Datum value[], char nulls[]);
extern void DataFill(char *data, TupleDesc tupleDesc,
Datum value[], char nulls[], char *infomask,
- bits8 bit[]);
+ bits8 *bit);
extern int heap_attisnull(HeapTuple tup, int attnum);
extern int heap_sysattrlen(AttrNumber attno);
extern bool heap_sysattrbyval(AttrNumber attno);