Skip to content

Commit a42fc1c

Browse files
committed
Fix an assortment of typos
Author: Alexander Lakhin Discussion: https://postgr.es/m/ae9f2fcb-4b24-5bb0-4240-efbbbd944ca1@gmail.com
1 parent 4a044b9 commit a42fc1c

File tree

25 files changed

+25
-28
lines changed

25 files changed

+25
-28
lines changed

contrib/amcheck/verify_nbtree.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ bt_entry_unique_check(BtreeCheckState *state, IndexTuple itup,
10861086

10871087
/*
10881088
* Current tuple has no posting list. If TID is visible save info about it
1089-
* for the next comparisons in the loop in bt_page_check(). Report
1089+
* for the next comparisons in the loop in bt_target_page_check(). Report
10901090
* duplicate if lVis_tid is already valid.
10911091
*/
10921092
else
@@ -1953,7 +1953,7 @@ bt_target_page_check(BtreeCheckState *state)
19531953
* Note that !readonly callers must reverify that target page has not
19541954
* been concurrently deleted.
19551955
*
1956-
* Save rightfirstdataoffset for detailed error message.
1956+
* Save rightfirstoffset for detailed error message.
19571957
*/
19581958
static BTScanInsert
19591959
bt_right_page_check_scankey(BtreeCheckState *state, OffsetNumber *rightfirstoffset)

doc/src/sgml/regress.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ make check-world PG_TEST_EXTRA='kerberos ldap ssl load_balance libpq_encryption'
331331
<term><literal>xid_wraparound</literal></term>
332332
<listitem>
333333
<para>
334-
Runs the test suite under <filename>src/test/module/xid_wrapround</filename>.
334+
Runs the test suite under <filename>src/test/modules/xid_wraparound</filename>.
335335
Not enabled by default because it is resource intensive.
336336
</para>
337337
</listitem>

doc/src/sgml/targets-meson.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Code Targets:
1111
backend Build backend and related modules
1212
bin Build frontend binaries
1313
contrib Build contrib modules
14-
pl Build procedual languages
14+
pl Build procedural languages
1515

1616
Developer Targets:
1717
reformat-dat-files Rewrite catalog data files into standard format

src/backend/access/brin/brin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2598,7 +2598,7 @@ _brin_parallel_heapscan(BrinBuildState *state)
25982598
*
25992599
* After waiting for all workers to finish, merge the per-worker results into
26002600
* the complete index. The results from each worker are sorted by block number
2601-
* (start of the page range). While combinig the per-worker results we merge
2601+
* (start of the page range). While combining the per-worker results we merge
26022602
* summaries for the same page range, and also fill-in empty summaries for
26032603
* ranges without any tuples.
26042604
*

src/backend/access/transam/slru.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ SimpleLruAutotuneBuffers(int divisor, int max)
228228
* name: name of SLRU. (This is user-visible, pick with care!)
229229
* nslots: number of page slots to use.
230230
* nlsns: number of LSN groups per page (set to zero if not relevant).
231-
* ctllock: LWLock to use to control access to the shared control structure.
232231
* subdir: PGDATA-relative subdirectory that will contain the files.
233232
* buffer_tranche_id: tranche ID to use for the SLRU's per-buffer LWLocks.
234233
* bank_tranche_id: tranche ID to use for the bank LWLocks.

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8507,7 +8507,7 @@ xlog_redo(XLogReaderState *record)
85078507

85088508
/*
85098509
* Return the extra open flags used for opening a file, depending on the
8510-
* value of the GUCs wal_sync_method, fsync and io_direct.
8510+
* value of the GUCs wal_sync_method, fsync and debug_io_direct.
85118511
*/
85128512
static int
85138513
get_sync_bit(int method)

src/backend/catalog/heap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,7 @@ AddRelationNewConstraints(Relation rel,
24652465
* Check against pre-existing constraints. If we are allowed
24662466
* to merge with an existing constraint, there's no more to do
24672467
* here. (We omit the duplicate constraint from the result,
2468-
* which is what ATAddCheckConstraint wants.)
2468+
* which is what ATAddCheckNNConstraint wants.)
24692469
*/
24702470
if (MergeWithExistingConstraint(rel, ccname, expr,
24712471
allow_merge, is_local,

src/backend/executor/nodeValuesscan.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
* ExecValuesScan scans a values list.
1919
* ExecValuesNext retrieve next tuple in sequential order.
2020
* ExecInitValuesScan creates and initializes a valuesscan node.
21-
* ExecEndValuesScan releases any storage allocated.
2221
* ExecReScanValuesScan rescans the values list
2322
*/
2423
#include "postgres.h"

src/backend/nodes/queryjumblefuncs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ static void RecordConstLocation(JumbleState *jstate, int location);
5757
static void _jumbleNode(JumbleState *jstate, Node *node);
5858
static void _jumbleA_Const(JumbleState *jstate, Node *node);
5959
static void _jumbleList(JumbleState *jstate, Node *node);
60-
static void _jumbleRangeTblEntry(JumbleState *jstate, Node *node);
6160

6261
/*
6362
* Given a possibly multi-statement source string, confine our attention to the

src/backend/replication/logical/slotsync.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,8 +1041,8 @@ ValidateSlotSyncParams(int elevel)
10411041
/*
10421042
* Logical slot sync/creation requires wal_level >= logical.
10431043
*
1044-
* Sincle altering the wal_level requires a server restart, so error out
1045-
* in this case regardless of elevel provided by caller.
1044+
* Since altering the wal_level requires a server restart, so error out in
1045+
* this case regardless of elevel provided by caller.
10461046
*/
10471047
if (wal_level < WAL_LEVEL_LOGICAL)
10481048
ereport(ERROR,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy