Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 950d4a2

Browse files
Fix typos and duplicate words
This fixes various typos, duplicated words, and tiny bits of whitespace mainly in code comments but also in docs. Author: Daniel Gustafsson <daniel@yesql.se> Author: Heikki Linnakangas <hlinnaka@iki.fi> Author: Alexander Lakhin <exclusion@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> Author: Nazir Bilal Yavuz <byavuz81@gmail.com> Discussion: https://postgr.es/m/3F577953-A29E-4722-98AD-2DA9EFF2CBB8@yesql.se
1 parent fbed6eb commit 950d4a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+93
-92
lines changed

contrib/amcheck/expected/check_btree.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CREATE TABLE bttest_a(id int8);
22
CREATE TABLE bttest_b(id int8);
33
CREATE TABLE bttest_multi(id int8, data int8);
44
CREATE TABLE delete_test_table (a bigint, b bigint, c bigint, d bigint);
5-
-- Stabalize tests
5+
-- Stabilize tests
66
ALTER TABLE bttest_a SET (autovacuum_enabled = false);
77
ALTER TABLE bttest_b SET (autovacuum_enabled = false);
88
ALTER TABLE bttest_multi SET (autovacuum_enabled = false);

contrib/amcheck/sql/check_btree.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CREATE TABLE bttest_b(id int8);
33
CREATE TABLE bttest_multi(id int8, data int8);
44
CREATE TABLE delete_test_table (a bigint, b bigint, c bigint, d bigint);
55

6-
-- Stabalize tests
6+
-- Stabilize tests
77
ALTER TABLE bttest_a SET (autovacuum_enabled = false);
88
ALTER TABLE bttest_b SET (autovacuum_enabled = false);
99
ALTER TABLE bttest_multi SET (autovacuum_enabled = false);

contrib/amcheck/verify_nbtree.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3036,7 +3036,7 @@ bt_normalize_tuple(BtreeCheckState *state, IndexTuple itup)
30363036
* In the heap, tuples may contain short varlena datums with both 1B
30373037
* header and 4B headers. But the corresponding index tuple should always
30383038
* have such varlena's with 1B headers. So, if there is a short varlena
3039-
* with 4B header, we need to convert it for for fingerprinting.
3039+
* with 4B header, we need to convert it for fingerprinting.
30403040
*
30413041
* Note that we rely on deterministic index_form_tuple() TOAST compression
30423042
* of normalized input.

doc/src/sgml/maintenance.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ HINT: Execute a database-wide VACUUM in that database.
802802
<para>
803803
Similar to the XID case, if autovacuum fails to clear old MXIDs from a table, the
804804
system will begin to emit warning messages when the database's oldest MXIDs reach forty
805-
million transactions from the wraparound point. And, just as an the XID case, if these
805+
million transactions from the wraparound point. And, just as in the XID case, if these
806806
warnings are ignored, the system will refuse to generate new MXIDs once there are fewer
807807
than three million left until wraparound.
808808
</para>

doc/src/sgml/meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ if docs_dep.found()
207207
alias_target('man', man)
208208
alias_target('install-man', install_doc_man)
209209

210-
# built and installed as part of the the docs target
210+
# built and installed as part of the docs target
211211
installdocs += install_doc_man
212212
docs += man
213213
endif

src/backend/access/gin/ginbtree.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ ginFinishSplit(GinBtree btree, GinBtreeStack *stack, bool freestack,
766766
/*
767767
* An entry point to ginFinishSplit() that is used when we stumble upon an
768768
* existing incompletely split page in the tree, as opposed to completing a
769-
* split that we just made outselves. The difference is that stack->buffer may
769+
* split that we just made ourselves. The difference is that stack->buffer may
770770
* be merely share-locked on entry, and will be upgraded to exclusive mode.
771771
*
772772
* Note: Upgrading the lock momentarily releases it. Doing that in a scan

src/backend/access/heap/pruneheap.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
typedef struct
3434
{
3535
/*-------------------------------------------------------
36-
* Arguments passed to heap_page_and_freeze()
36+
* Arguments passed to heap_page_prune_and_freeze()
3737
*-------------------------------------------------------
3838
*/
3939

@@ -306,7 +306,7 @@ heap_page_prune_opt(Relation relation, Buffer buffer)
306306
* If the HEAP_PRUNE_FREEZE option is set, we will also freeze tuples if it's
307307
* required in order to advance relfrozenxid / relminmxid, or if it's
308308
* considered advantageous for overall system performance to do so now. The
309-
* 'cutoffs', 'presult', 'new_refrozen_xid' and 'new_relmin_mxid' arguments
309+
* 'cutoffs', 'presult', 'new_relfrozen_xid' and 'new_relmin_mxid' arguments
310310
* are required when freezing. When HEAP_PRUNE_FREEZE option is set, we also
311311
* set presult->all_visible and presult->all_frozen on exit, to indicate if
312312
* the VM bits can be set. They are always set to false when the
@@ -337,7 +337,7 @@ heap_page_prune_opt(Relation relation, Buffer buffer)
337337
* off_loc is the offset location required by the caller to use in error
338338
* callback.
339339
*
340-
* new_relfrozen_xid and new_relmin_xid must provided by the caller if the
340+
* new_relfrozen_xid and new_relmin_mxid must provided by the caller if the
341341
* HEAP_PRUNE_FREEZE option is set. On entry, they contain the oldest XID and
342342
* multi-XID seen on the relation so far. They will be updated with oldest
343343
* values present on the page after pruning. After processing the whole

src/backend/access/nbtree/nbtutils.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,7 @@ _bt_start_prim_scan(IndexScanDesc scan, ScanDirection dir)
17561756
*
17571757
* (The rules are the same for backwards scans, except that the operators are
17581758
* flipped: just replace the precondition's >= operator with a <=, and the
1759-
* postcondition's <= operator with with a >=. In other words, just swap the
1759+
* postcondition's <= operator with a >=. In other words, just swap the
17601760
* precondition with the postcondition.)
17611761
*
17621762
* We also deal with "advancing" non-required arrays here. Callers whose
@@ -4133,7 +4133,7 @@ _bt_checkkeys_look_ahead(IndexScanDesc scan, BTReadPageState *pstate,
41334133
else
41344134
{
41354135
/*
4136-
* Failure -- "ahead" tuple is too far ahead (we were too aggresive).
4136+
* Failure -- "ahead" tuple is too far ahead (we were too aggressive).
41374137
*
41384138
* Reset the number of rechecks, and aggressively reduce the target
41394139
* distance (we're much more aggressive here than we were when the

src/backend/access/rmgrdesc/xactdesc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Parse the WAL format of an xact commit and abort records into an easier to
2626
* understand format.
2727
*
28-
* This routines are in xactdesc.c because they're accessed in backend (when
28+
* These routines are in xactdesc.c because they're accessed in backend (when
2929
* replaying WAL) and frontend (pg_waldump) code. This file is the only xact
3030
* specific one shared between both. They're complicated enough that
3131
* duplication would be bothersome.

src/backend/catalog/pg_constraint.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ DeconstructFkConstraintRow(HeapTuple tuple, int *numfks,
16681668
}
16691669

16701670
/*
1671-
* FindFkPeriodOpers -
1671+
* FindFKPeriodOpers -
16721672
*
16731673
* Looks up the operator oids used for the PERIOD part of a temporal foreign key.
16741674
* The opclass should be the opclass of that PERIOD element.

src/backend/catalog/system_functions.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* src/backend/catalog/system_functions.sql
77
*
8-
* This file redefines certain built-in functions that it's impractical
8+
* This file redefines certain built-in functions that are impractical
99
* to fully define in pg_proc.dat. In most cases that's because they use
1010
* SQL-standard function bodies and/or default expressions. The node
1111
* tree representations of those are too unreadable, platform-dependent,

src/backend/commands/amcmds.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ get_index_am_oid(const char *amname, bool missing_ok)
167167

168168
/*
169169
* get_table_am_oid - given an access method name, look up its OID
170-
* and verify it corresponds to an table AM.
170+
* and verify it corresponds to a table AM.
171171
*/
172172
Oid
173173
get_table_am_oid(const char *amname, bool missing_ok)

src/backend/commands/copyfrom.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ CopyFrom(CopyFromState cstate)
996996
cstate->escontext->error_occurred)
997997
{
998998
/*
999-
* Soft error occured, skip this tuple and deal with error
999+
* Soft error occurred, skip this tuple and deal with error
10001000
* information according to ON_ERROR.
10011001
*/
10021002
if (cstate->opts.on_error == COPY_ON_ERROR_IGNORE)

src/backend/commands/dbcommands.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3312,7 +3312,7 @@ dbase_redo(XLogReaderState *record)
33123312
*/
33133313
FlushDatabaseBuffers(xlrec->src_db_id);
33143314

3315-
/* Close all sgmr fds in all backends. */
3315+
/* Close all smgr fds in all backends. */
33163316
WaitForProcSignalBarrier(EmitProcSignalBarrier(PROCSIGNAL_BARRIER_SMGRRELEASE));
33173317

33183318
/*
@@ -3378,7 +3378,7 @@ dbase_redo(XLogReaderState *record)
33783378
/* Clean out the xlog relcache too */
33793379
XLogDropDatabase(xlrec->db_id);
33803380

3381-
/* Close all sgmr fds in all backends. */
3381+
/* Close all smgr fds in all backends. */
33823382
WaitForProcSignalBarrier(EmitProcSignalBarrier(PROCSIGNAL_BARRIER_SMGRRELEASE));
33833383

33843384
for (i = 0; i < xlrec->ntablespaces; i++)

src/backend/commands/tablecmds.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -5687,7 +5687,7 @@ ATParseTransformCmd(List **wqueue, AlteredTableInfo *tab, Relation rel,
56875687
case AT_AddIndex:
56885688

56895689
/*
5690-
* A primary key on a inheritance parent needs supporting NOT
5690+
* A primary key on an inheritance parent needs supporting NOT
56915691
* NULL constraint on its children; enqueue commands to create
56925692
* those or mark them inherited if they already exist.
56935693
*/

src/backend/commands/vacuumparallel.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* In a parallel vacuum, we perform both index bulk deletion and index cleanup
1010
* with parallel worker processes. Individual indexes are processed by one
11-
* vacuum process. ParalleVacuumState contains shared information as well as
11+
* vacuum process. ParallelVacuumState contains shared information as well as
1212
* the memory space for storing dead items allocated in the DSA area. We
1313
* launch parallel worker processes at the start of parallel index
1414
* bulk-deletion and index cleanup and once all indexes are processed, the

src/backend/executor/execExpr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4400,7 +4400,7 @@ ExecInitJsonExpr(JsonExpr *jsexpr, ExprState *state,
44004400
/*
44014401
* Add a special step, if needed, to check if the coercion evaluation ran
44024402
* into an error but was not thrown because the ON ERROR behavior is not
4403-
* ERROR. It will set jsesestate->error if an error did occur.
4403+
* ERROR. It will set jsestate->error if an error did occur.
44044404
*/
44054405
if (jsestate->jump_eval_coercion >= 0 && escontext != NULL)
44064406
{

src/backend/optimizer/path/equivclass.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2885,7 +2885,7 @@ add_child_join_rel_equivalences(PlannerInfo *root,
28852885
/*
28862886
* add_setop_child_rel_equivalences
28872887
* Add equivalence members for each non-resjunk target in 'child_tlist'
2888-
* to the EquivalenceClass in the corresponding setop_pathkey's pk_class.
2888+
* to the EquivalenceClass in the corresponding setop_pathkey's pk_eclass.
28892889
*
28902890
* 'root' is the PlannerInfo belonging to the top-level set operation.
28912891
* 'child_rel' is the RelOptInfo of the child relation we're adding

src/backend/optimizer/path/pathkeys.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ group_keys_reorder_by_pathkeys(List *pathkeys, List **group_pathkeys,
384384
* *group_pathkeys containing grouping pathkeys altogether with aggregate
385385
* pathkeys. If we process aggregate pathkeys we could get an invalid
386386
* result of get_sortgroupref_clause_noerr(), because their
387-
* pathkey->pk_eclass->ec_sortref doesn't referece query targetlist. So,
387+
* pathkey->pk_eclass->ec_sortref doesn't reference query targetlist. So,
388388
* we allocate a separate list of pathkeys for lookups.
389389
*/
390390
grouping_pathkeys = list_copy_head(*group_pathkeys, num_groupby_pathkeys);

src/backend/optimizer/prep/prepunion.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,8 @@ set_operation_ordered_results_useful(SetOperationStmt *setop)
214214
*
215215
* Returns a RelOptInfo for the subtree, as well as these output parameters:
216216
* *pTargetList: receives the fully-fledged tlist for the subtree's top plan
217-
* *istrivial_tlist: true iif datatypes between parent and child match.
217+
* *istrivial_tlist: true if, and only if, datatypes between parent and child
218+
* match.
218219
*
219220
* The pTargetList output parameter is mostly redundant with the pathtarget
220221
* of the returned RelOptInfo, but for the moment we need it because much of

src/backend/parser/parse_jsontable.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static JsonTablePlan *makeJsonTableSiblingJoin(JsonTablePlan *lplan,
7070
* (jt->context_item) and the column-generating expressions (jt->columns) to
7171
* populate TableFunc.docexpr and TableFunc.colvalexprs, respectively. Also,
7272
* the PASSING values (jt->passing) are transformed and added into
73-
* TableFunc.passvalexprs.
73+
* TableFunc.passingvalexprs.
7474
*/
7575
ParseNamespaceItem *
7676
transformJsonTable(ParseState *pstate, JsonTable *jt)

src/backend/parser/parse_utilcmd.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3451,7 +3451,7 @@ checkPartition(Relation rel, Oid partRelOid)
34513451

34523452
/*
34533453
* transformPartitionCmdForSplit
3454-
* Analyze the ALTER TABLLE ... SPLIT PARTITION command
3454+
* Analyze the ALTER TABLE ... SPLIT PARTITION command
34553455
*
34563456
* For each new partition sps->bound is set to the transformed value of bound.
34573457
* Does checks for bounds of new partitions.
@@ -3490,7 +3490,7 @@ transformPartitionCmdForSplit(CreateStmtContext *cxt, PartitionCmd *partcmd)
34903490

34913491
/*
34923492
* transformPartitionCmdForMerge
3493-
* Analyze the ALTER TABLLE ... MERGE PARTITIONS command
3493+
* Analyze the ALTER TABLE ... MERGE PARTITIONS command
34943494
*
34953495
* Does simple checks for merged partitions. Calculates bound of resulting
34963496
* partition.

src/backend/partitioning/partbounds.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -5146,7 +5146,7 @@ get_partition_bound_spec(Oid partOid, RangeVar *name)
51465146
* the first of new partitions) then lower bound of "spec" should be equal (or
51475147
* greater than or equal in case defaultPart=true) to lower bound of split
51485148
* partition. If last=true (this means that "spec" is the last of new
5149-
* partitions) then upper bound of of "spec" should be equal (or less than or
5149+
* partitions) then upper bound of "spec" should be equal (or less than or
51505150
* equal in case defaultPart=true) to upper bound of split partition.
51515151
*
51525152
* parent: partitioned table
@@ -5245,8 +5245,8 @@ check_partition_bounds_for_split_range(Relation parent,
52455245
false, split_upper);
52465246

52475247
/*
5248-
* Upper bound of of "spec" should be equal (or less than or equal
5249-
* in case defaultPart=true) to upper bound of split partition.
5248+
* Upper bound of "spec" should be equal (or less than or equal in
5249+
* case defaultPart=true) to upper bound of split partition.
52505250
*/
52515251
if ((!defaultPart && cmpval) || (defaultPart && cmpval > 0))
52525252
overlap = true;

src/backend/partitioning/partprune.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1825,7 +1825,7 @@ match_clause_to_partition_key(GeneratePruningStepsContext *context,
18251825
BooleanTest *new_booltest = (BooleanTest *) copyObject(clause);
18261826
NullTest *nulltest;
18271827

1828-
/* We expect 'noteq' to only be set to true for BooleanTests */
1828+
/* We expect 'notclause' to only be set to true for BooleanTests */
18291829
Assert(IsA(clause, BooleanTest));
18301830

18311831
/* reverse the bool test */

src/backend/postmaster/launch_backend.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ child_process_kind child_process_kinds[] = {
187187
/*
188188
* WAL senders start their life as regular backend processes, and change
189189
* their type after authenticating the client for replication. We list it
190-
* here forPostmasterChildName() but cannot launch them directly.
190+
* here for PostmasterChildName() but cannot launch them directly.
191191
*/
192192
[B_WAL_SENDER] = {"wal sender", NULL, true},
193193
[B_SLOTSYNC_WORKER] = {"slot sync worker", ReplSlotSyncWorkerMain, true},

src/backend/postmaster/walsummarizer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static WalSummarizerData *WalSummarizerCtl;
108108

109109
/*
110110
* When we reach end of WAL and need to read more, we sleep for a number of
111-
* milliseconds that is a integer multiple of MS_PER_SLEEP_QUANTUM. This is
111+
* milliseconds that is an integer multiple of MS_PER_SLEEP_QUANTUM. This is
112112
* the multiplier. It should vary between 1 and MAX_SLEEP_QUANTA, depending
113113
* on system activity. See summarizer_wait_for_wal() for how we adjust this.
114114
*/

src/backend/replication/logical/slotsync.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
* overwrites.
8989
*
9090
* The 'last_start_time' is needed by postmaster to start the slot sync worker
91-
* once per SLOTSYNC_RESTART_INTERVAL_SEC. In cases where a immediate restart
91+
* once per SLOTSYNC_RESTART_INTERVAL_SEC. In cases where an immediate restart
9292
* is expected (e.g., slot sync GUCs change), slot sync worker will reset
9393
* last_start_time before exiting, so that postmaster can start the worker
9494
* without waiting for SLOTSYNC_RESTART_INTERVAL_SEC.

src/backend/replication/walsender.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3493,7 +3493,7 @@ WalSndDone(WalSndSendDataCallback send_data)
34933493
* Returns the latest point in WAL that has been safely flushed to disk.
34943494
* This should only be called when in recovery.
34953495
*
3496-
* This is called either by cascading walsender to find WAL postion to be sent
3496+
* This is called either by cascading walsender to find WAL position to be sent
34973497
* to a cascaded standby or by slot synchronization operation to validate remote
34983498
* slot's lsn before syncing it locally.
34993499
*

src/backend/statistics/dependencies.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ dependency_is_compatible_clause(Node *clause, Index relid, AttrNumber *attnum)
794794
}
795795
else if (IsA(clause, ScalarArrayOpExpr))
796796
{
797-
/* If it's an scalar array operator, check for Var IN Const. */
797+
/* If it's a scalar array operator, check for Var IN Const. */
798798
ScalarArrayOpExpr *expr = (ScalarArrayOpExpr *) clause;
799799

800800
/*
@@ -1222,7 +1222,7 @@ dependency_is_compatible_expression(Node *clause, Index relid, List *statlist, N
12221222
}
12231223
else if (IsA(clause, ScalarArrayOpExpr))
12241224
{
1225-
/* If it's an scalar array operator, check for Var IN Const. */
1225+
/* If it's a scalar array operator, check for Var IN Const. */
12261226
ScalarArrayOpExpr *expr = (ScalarArrayOpExpr *) clause;
12271227

12281228
/*

src/backend/storage/aio/read_stream.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,9 @@ read_stream_begin_relation(int flags,
541541
stream->distance = 1;
542542

543543
/*
544-
* Since we always always access the same relation, we can initialize
545-
* parts of the ReadBuffersOperation objects and leave them that way, to
546-
* avoid wasting CPU cycles writing to them for each read.
544+
* Since we always access the same relation, we can initialize parts of
545+
* the ReadBuffersOperation objects and leave them that way, to avoid
546+
* wasting CPU cycles writing to them for each read.
547547
*/
548548
for (int i = 0; i < max_ios; ++i)
549549
{

src/backend/storage/buffer/bufmgr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ PinBufferForBlock(Relation rel,
10731073

10741074
/*
10751075
* If there is no Relation it usually implies recovery and thus permanent,
1076-
* but we take an argmument because CreateAndCopyRelationData can reach us
1076+
* but we take an argument because CreateAndCopyRelationData can reach us
10771077
* with only an SMgrRelation for an unlogged relation that we don't want
10781078
* to flag with BM_PERMANENT.
10791079
*/

src/backend/storage/lmgr/lock.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ LockAcquireExtended(const LOCKTAG *locktag,
10321032

10331033
/*
10341034
* Sleep till someone wakes me up. We do this even in the dontWait
1035-
* case, beause while trying to go to sleep, we may discover that we
1035+
* case, because while trying to go to sleep, we may discover that we
10361036
* can acquire the lock immediately after all.
10371037
*/
10381038

src/backend/storage/lmgr/proc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ AuxiliaryPidGetProc(int pid)
10471047
* called, because it could be that when we try to find a position at which
10481048
* to insert ourself into the wait queue, we discover that we must be inserted
10491049
* ahead of everyone who wants a lock that conflict with ours. In that case,
1050-
* we get the lock immediately. Beause of this, it's sensible for this function
1050+
* we get the lock immediately. Because of this, it's sensible for this function
10511051
* to have a dontWait argument, despite the name.
10521052
*
10531053
* The lock table's partition lock must be held at entry, and will be held

src/backend/utils/adt/jsonpath_exec.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -4221,7 +4221,7 @@ JsonTableSetDocument(TableFuncScanState *state, Datum value)
42214221
}
42224222

42234223
/*
4224-
* Evaluate a JsonTablePlan's jsonpath to get a new row pattren from
4224+
* Evaluate a JsonTablePlan's jsonpath to get a new row pattern from
42254225
* the given context item
42264226
*/
42274227
static void
@@ -4339,7 +4339,7 @@ JsonTablePlanScanNextRow(JsonTablePlanState *planstate)
43394339
/*
43404340
* Now fetch the nested plan's current row to be joined against the
43414341
* parent row. Any further nested plans' paths will be re-evaluated
4342-
* reursively, level at a time, after setting each nested plan's
4342+
* recursively, level at a time, after setting each nested plan's
43434343
* current row.
43444344
*/
43454345
(void) JsonTablePlanNextRow(planstate->nested);

src/backend/utils/adt/multirangetypes.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ multirange_out(PG_FUNCTION_ARGS)
330330
}
331331

332332
/*
333-
* Binary representation: First a int32-sized count of ranges, followed by
333+
* Binary representation: First an int32-sized count of ranges, followed by
334334
* ranges in their native binary representation.
335335
*/
336336
Datum

0 commit comments

Comments
 (0)