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 /contrib | |
parent | 6fd8ae6888847da842ee4810fcd83b013cbed27f (diff) | |
download | postgresql-8961cb9a0315fa23458587b3df547ca8d8e00f85.tar.gz |
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 'contrib')
-rw-r--r-- | contrib/amcheck/verify_nbtree.c | 2 | ||||
-rw-r--r-- | contrib/intarray/_int.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/amcheck/verify_nbtree.c b/contrib/amcheck/verify_nbtree.c index eb280d4893..6979aff727 100644 --- a/contrib/amcheck/verify_nbtree.c +++ b/contrib/amcheck/verify_nbtree.c @@ -104,7 +104,7 @@ typedef struct BtreeCheckState /* * The rightlink and incomplete split flag of block one level down to the - * target page, which was visited last time via downlink from taget page. + * target page, which was visited last time via downlink from target page. * We use it to check for missing downlinks. */ BlockNumber prevrightlink; diff --git a/contrib/intarray/_int.h b/contrib/intarray/_int.h index a52ec38ba4..0352cbd368 100644 --- a/contrib/intarray/_int.h +++ b/contrib/intarray/_int.h @@ -15,7 +15,7 @@ ((GISTIntArrayOptions *) PG_GET_OPCLASS_OPTIONS())->num_ranges : \ G_INT_NUMRANGES_DEFAULT) -/* gist_int_ops opclass options */ +/* gist__int_ops opclass options */ typedef struct { int32 vl_len_; /* varlena header (do not touch directly!) */ @@ -80,7 +80,7 @@ typedef char *BITVECP; #define HASHVAL(val, siglen) (((unsigned int)(val)) % SIGLENBIT(siglen)) #define HASH(sign, val, siglen) SETBIT((sign), HASHVAL(val, siglen)) -/* gist_intbig_ops opclass options */ +/* gist__intbig_ops opclass options */ typedef struct { int32 vl_len_; /* varlena header (do not touch directly!) */ |