Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 526b54e

Browse files
committed
Fix comments in heaptuple.c
Since e27f4ee, fastgetattr() and heap_getattr() are not macros, but inlined functions. Author: Junwang Zhao Reviewed-by: Stepan Neretin Discussion: https://postgr.es/m/CAEG8a3JS-JKWWyOcM7BU=vPqFXa3W7mZSHnvc3CBqx=tC+3SCA@mail.gmail.com
1 parent d85fc4b commit 526b54e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/access/common/heaptuple.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,8 @@ heap_attisnull(HeapTuple tup, int attnum, TupleDesc tupleDesc)
495495
/* ----------------
496496
* nocachegetattr
497497
*
498-
* This only gets called from fastgetattr() macro, in cases where
499-
* we can't use a cacheoffset and the value is not null.
498+
* This only gets called from fastgetattr(), in cases where we
499+
* can't use a cacheoffset and the value is not null.
500500
*
501501
* This caches attribute offsets in the attribute descriptor.
502502
*
@@ -715,8 +715,8 @@ nocachegetattr(HeapTuple tup,
715715
*
716716
* Fetch the value of a system attribute for a tuple.
717717
*
718-
* This is a support routine for the heap_getattr macro. The macro
719-
* has already determined that the attnum refers to a system attribute.
718+
* This is a support routine for heap_getattr(). The function has already
719+
* determined that the attnum refers to a system attribute.
720720
* ----------------
721721
*/
722722
Datum

0 commit comments

Comments
 (0)