Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit526b54e

Browse files
committed
Fix comments in heaptuple.c
Sincee27f4ee, fastgetattr() and heap_getattr() are not macros, butinlined functions.Author: Junwang ZhaoReviewed-by: Stepan NeretinDiscussion:https://postgr.es/m/CAEG8a3JS-JKWWyOcM7BU=vPqFXa3W7mZSHnvc3CBqx=tC+3SCA@mail.gmail.com
1 parentd85fc4b commit526b54e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/access/common/heaptuple.c‎

Lines changed: 4 additions & 4 deletions
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-
*wecan'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 fortheheap_getattr macro. Themacro
719-
*has alreadydetermined that the attnum refers to a system attribute.
718+
* This is a support routine for heap_getattr(). Thefunction has already
719+
* determined that the attnum refers to a system attribute.
720720
* ----------------
721721
*/
722722
Datum

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp