diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-05-02 12:23:08 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-05-02 12:23:08 +0900 |
commit | 8961cb9a0315fa23458587b3df547ca8d8e00f85 (patch) | |
tree | f9ea45d43d53950d56062dc9eb0cebe547503718 /src/include | |
parent | 6fd8ae6888847da842ee4810fcd83b013cbed27f (diff) | |
download | postgresql-8961cb9a0315fa23458587b3df547ca8d8e00f85.tar.gz postgresql-8961cb9a0315fa23458587b3df547ca8d8e00f85.zip |
Fix typos in comments
The changes done in this commit impact comments with no direct
user-visible changes, with fixes for incorrect function, variable or
structure names.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/e8c38840-596a-83d6-bd8d-cebc51111572@gmail.com
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/access/tableam.h | 2 | ||||
-rw-r--r-- | src/include/access/toast_helper.h | 6 | ||||
-rw-r--r-- | src/include/nodes/nodeFuncs.h | 2 | ||||
-rw-r--r-- | src/include/nodes/queryjumble.h | 4 | ||||
-rw-r--r-- | src/include/pg_config_manual.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h index bb6d4f03151..b19d50ecc2e 100644 --- a/src/include/access/tableam.h +++ b/src/include/access/tableam.h @@ -358,7 +358,7 @@ typedef struct TableAmRoutine * allowed by the AM. * * Implementations can assume that scan_set_tidrange is always called - * before can_getnextslot_tidrange or after scan_rescan and before any + * before scan_getnextslot_tidrange or after scan_rescan and before any * further calls to scan_getnextslot_tidrange. */ void (*scan_set_tidrange) (TableScanDesc scan, diff --git a/src/include/access/toast_helper.h b/src/include/access/toast_helper.h index 96d8e5a685c..e971bd2c8ef 100644 --- a/src/include/access/toast_helper.h +++ b/src/include/access/toast_helper.h @@ -43,7 +43,7 @@ typedef struct /* * Before calling toast_tuple_init, the caller must initialize the * following fields. Each array must have a length equal to - * ttc_rel->rd_att->natts. The tts_oldvalues and tts_oldisnull fields + * ttc_rel->rd_att->natts. The ttc_oldvalues and ttc_oldisnull fields * should be NULL in the case of an insert. */ Relation ttc_rel; /* the relation that contains the tuple */ @@ -53,9 +53,9 @@ typedef struct bool *ttc_oldisnull; /* null flags from previous tuple */ /* - * Before calling toast_tuple_init, the caller should set tts_attr to + * Before calling toast_tuple_init, the caller should set ttc_attr to * point to an array of ToastAttrInfo structures of a length equal to - * tts_rel->rd_att->natts. The contents of the array need not be + * ttc_rel->rd_att->natts. The contents of the array need not be * initialized. ttc_flags also does not need to be initialized. */ uint8 ttc_flags; diff --git a/src/include/nodes/nodeFuncs.h b/src/include/nodes/nodeFuncs.h index e63b399b8d9..20921b45b9e 100644 --- a/src/include/nodes/nodeFuncs.h +++ b/src/include/nodes/nodeFuncs.h @@ -29,7 +29,7 @@ struct PlanState; /* avoid including execnodes.h too */ #define QTW_EXAMINE_RTES_AFTER 0x20 /* examine RTE nodes after their * contents */ #define QTW_DONT_COPY_QUERY 0x40 /* do not copy top Query */ -#define QTW_EXAMINE_SORTGROUP 0x80 /* include SortGroupNode lists */ +#define QTW_EXAMINE_SORTGROUP 0x80 /* include SortGroupClause lists */ /* callback function for check_functions_in_node */ typedef bool (*check_function_callback) (Oid func_id, void *context); diff --git a/src/include/nodes/queryjumble.h b/src/include/nodes/queryjumble.h index 204b8f74fd5..3499bfd4a09 100644 --- a/src/include/nodes/queryjumble.h +++ b/src/include/nodes/queryjumble.h @@ -11,8 +11,8 @@ * *------------------------------------------------------------------------- */ -#ifndef QUERYJUBLE_H -#define QUERYJUBLE_H +#ifndef QUERYJUMBLE_H +#define QUERYJUMBLE_H #include "nodes/parsenodes.h" diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h index 33ec6102c15..a1a93ad706e 100644 --- a/src/include/pg_config_manual.h +++ b/src/include/pg_config_manual.h @@ -317,7 +317,7 @@ /* * Recover memory used for relcache entries when invalidated. See - * RelationBuildDescr() in src/backend/utils/cache/relcache.c. + * RelationBuildDesc() in src/backend/utils/cache/relcache.c. * * This is active automatically for clobber-cache builds when clobbering is * active, but can be overridden here by explicitly defining |