Fix comments in heaptuple.c

Since e27f4ee0a7, 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
This commit is contained in:
Michael Paquier 2024-06-28 13:30:47 +09:00
parent d85fc4be11
commit 526b54ece3
1 changed files with 4 additions and 4 deletions

View File

@ -495,8 +495,8 @@ heap_attisnull(HeapTuple tup, int attnum, TupleDesc tupleDesc)
/* ---------------- /* ----------------
* nocachegetattr * nocachegetattr
* *
* This only gets called from fastgetattr() macro, in cases where * This only gets called from fastgetattr(), in cases where we
* we can't use a cacheoffset and the value is not null. * can't use a cacheoffset and the value is not null.
* *
* This caches attribute offsets in the attribute descriptor. * This caches attribute offsets in the attribute descriptor.
* *
@ -715,8 +715,8 @@ nocachegetattr(HeapTuple tup,
* *
* Fetch the value of a system attribute for a tuple. * Fetch the value of a system attribute for a tuple.
* *
* This is a support routine for the heap_getattr macro. The macro * This is a support routine for heap_getattr(). The function has already
* has already determined that the attnum refers to a system attribute. * determined that the attnum refers to a system attribute.
* ---------------- * ----------------
*/ */
Datum Datum