99 *
1010 *
1111 * IDENTIFICATION
12- * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.70 2001/03/22 03:59:11 momjian Exp $
12+ * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.71 2001/03/22 06:16:06 momjian Exp $
1313 *
1414 * NOTES
1515 * The old interface functions have been converted to macros
@@ -246,9 +246,8 @@ nocachegetattr(HeapTuple tuple,
246246 * there's a null somewhere in the tuple
247247 */
248248
249- /* ----------------
250- * check to see if desired att is null
251- * ----------------
249+ /*
250+ * check to see if desired att is null
252251 */
253252
254253#ifdef IN_MACRO
@@ -261,9 +260,8 @@ nocachegetattr(HeapTuple tuple,
261260 }
262261#endif
263262
264- /* ----------------
265- * Now check to see if any preceding bits are null...
266- * ----------------
263+ /*
264+ * Now check to see if any preceding bits are null...
267265 */
268266 {
269267 int byte = attnum >> 3 ;
@@ -658,9 +656,8 @@ heap_modifytuple(HeapTuple tuple,
658656 HeapTuple newTuple ;
659657 uint8 infomask ;
660658
661- /* ----------------
662- * sanity checks
663- * ----------------
659+ /*
660+ * sanity checks
664661 */
665662 Assert (HeapTupleIsValid (tuple ));
666663 Assert (RelationIsValid (relation ));
@@ -670,10 +667,9 @@ heap_modifytuple(HeapTuple tuple,
670667
671668 numberOfAttributes = RelationGetForm (relation )-> relnatts ;
672669
673- /* ----------------
674- * allocate and fill *value and *nulls arrays from either
675- * the tuple or the repl information, as appropriate.
676- * ----------------
670+ /*
671+ * allocate and fill *value and *nulls arrays from either the tuple or
672+ * the repl information, as appropriate.
677673 */
678674 value = (Datum * ) palloc (numberOfAttributes * sizeof * value );
679675 nulls = (char * ) palloc (numberOfAttributes * sizeof * nulls );
@@ -701,17 +697,16 @@ heap_modifytuple(HeapTuple tuple,
701697 }
702698 }
703699
704- /* ----------------
705- * create a new tuple from the *values and *nulls arrays
706- * ----------------
700+ /*
701+ * create a new tuple from the *values and *nulls arrays
707702 */
708703 newTuple = heap_formtuple (RelationGetDescr (relation ),
709704 value ,
710705 nulls );
711706
712- /* ----------------
713- * copy the header except for t_len, t_natts, t_hoff, t_bits, t_infomask
714- * ----------------
707+ /*
708+ * copy the header except for t_len, t_natts, t_hoff, t_bits,
709+ * t_infomask
715710 */
716711 infomask = newTuple -> t_data -> t_infomask ;
717712 memmove ((char * ) & newTuple -> t_data -> t_oid , /* XXX */
0 commit comments