diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-06-28 13:30:47 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-06-28 13:30:47 +0900 |
commit | 526b54ece3f6b0bc474c0498d94780a38a6648a2 (patch) | |
tree | d2bc7d1a109728cdca9fc424f596556d58a5f097 /src | |
parent | d85fc4be11b38afd6d3abb586a6799299ed29470 (diff) | |
download | postgresql-526b54ece3f6b0bc474c0498d94780a38a6648a2.tar.gz postgresql-526b54ece3f6b0bc474c0498d94780a38a6648a2.zip |
Fix comments in heaptuple.c
Since e27f4ee0a701, 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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/common/heaptuple.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index 5c89fbbef83..9e3407bf987 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -495,8 +495,8 @@ heap_attisnull(HeapTuple tup, int attnum, TupleDesc tupleDesc) /* ---------------- * nocachegetattr * - * This only gets called from fastgetattr() macro, in cases where - * we can't use a cacheoffset and the value is not null. + * This only gets called from fastgetattr(), in cases where we + * can't use a cacheoffset and the value is not null. * * 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. * - * This is a support routine for the heap_getattr macro. The macro - * has already determined that the attnum refers to a system attribute. + * This is a support routine for heap_getattr(). The function has already + * determined that the attnum refers to a system attribute. * ---------------- */ Datum |