Skip to content

Commit 28c70b7

Browse files
committed
Merge branch 'master' into anyelement
2 parents 63f6cf4 + 4fc72cc commit 28c70b7

Some content is hidden

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

62 files changed

+95
-93
lines changed

contrib/isn/isn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ str2ean(const char *num)
511511
}
512512

513513
/*
514-
* ean2string --- Try to convert an ean13 number to an hyphenated string.
514+
* ean2string --- Try to convert an ean13 number to a hyphenated string.
515515
* Assumes there's enough space in result to hold
516516
* the string (maximum MAXEAN13LEN+1 bytes)
517517
* This doesn't verify for a valid check digit.

contrib/pg_buffercache/pg_buffercache_pages.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ pg_buffercache_pages(PG_FUNCTION_ARGS)
142142
LWLockAcquire(BufMappingPartitionLockByIndex(i), LW_SHARED);
143143

144144
/*
145-
* Scan though all the buffers, saving the relevant fields in the
145+
* Scan through all the buffers, saving the relevant fields in the
146146
* fctx->record structure.
147147
*/
148148
for (i = 0; i < NBuffers; i++)

contrib/spi/timetravel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static EPlan *find_plan(char *ident, EPlan **eplan, int *nplans);
5151
* and all other column values as in new tuple, and insert tuple
5252
* with old data and stop_date eq current date
5353
* ELSE - skip updation of tuple.
54-
* 2. IF an delete affects tuple with stop_date eq INFINITY
54+
* 2. IF a delete affects tuple with stop_date eq INFINITY
5555
* then insert the same tuple with stop_date eq current date
5656
* [ and delete_user eq current user ]
5757
* ELSE - skip deletion of tuple.

contrib/test_decoding/expected/decoding_in_xact.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SELECT txid_current() = 0;
1111
SELECT 'init' FROM pg_create_logical_replication_slot('regression_slot', 'test_decoding');
1212
ERROR: cannot create logical replication slot in transaction that has performed writes
1313
ROLLBACK;
14-
-- fail because we're creating a slot while in an subxact whose topxact has a xid
14+
-- fail because we're creating a slot while in a subxact whose topxact has an xid
1515
BEGIN;
1616
SELECT txid_current() = 0;
1717
?column?

contrib/test_decoding/specs/ondisk_startup.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ step "s3txid" { BEGIN ISOLATION LEVEL REPEATABLE READ; SELECT txid_current() IS
3636
step "s3c" { COMMIT; }
3737

3838
# Force usage of ondisk snapshot by starting and not finishing a
39-
# transaction with a assigned xid after consistency has been
39+
# transaction with an assigned xid after consistency has been
4040
# reached. In combination with a checkpoint forcing a snapshot to be
4141
# written and a new restart point computed that'll lead to the usage
4242
# of the snapshot.

contrib/test_decoding/sql/decoding_in_xact.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SELECT txid_current() = 0;
77
SELECT 'init' FROM pg_create_logical_replication_slot('regression_slot', 'test_decoding');
88
ROLLBACK;
99

10-
-- fail because we're creating a slot while in an subxact whose topxact has a xid
10+
-- fail because we're creating a slot while in a subxact whose topxact has an xid
1111
BEGIN;
1212
SELECT txid_current() = 0;
1313
SAVEPOINT barf;

doc/src/sgml/ref/insert.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
415415
one or more <replaceable
416416
class="PARAMETER">column_name_index</replaceable> columns and/or
417417
<replaceable class="PARAMETER">expression_index</replaceable>
418-
expressions, and a optional <replaceable class="PARAMETER">
418+
expressions, and an optional <replaceable class="PARAMETER">
419419
index_predicate</replaceable>.
420420
</para>
421421

src/backend/access/brin/brin_pageops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ brin_evacuate_page(Relation idxRel, BlockNumber pagesPerRange,
492492
/*
493493
* Return a pinned and exclusively locked buffer which can be used to insert an
494494
* index item of size itemsz. If oldbuf is a valid buffer, it is also locked
495-
* (in a order determined to avoid deadlocks.)
495+
* (in an order determined to avoid deadlocks.)
496496
*
497497
* If there's no existing page with enough free space to accomodate the new
498498
* item, the relation is extended. If this happens, *extended is set to true.

src/backend/access/gin/ginbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ ginFindParents(GinBtree btree, GinBtreeStack *stack)
313313
* the parent needs to be updated. (a root split returns true as it doesn't
314314
* need any further action by the caller to complete)
315315
*
316-
* When inserting a downlink to a internal page, 'childbuf' contains the
316+
* When inserting a downlink to an internal page, 'childbuf' contains the
317317
* child page that was split. Its GIN_INCOMPLETE_SPLIT flag will be cleared
318318
* atomically with the insert. Also, the existing item at the given location
319319
* is updated to point to 'updateblkno'.

src/backend/access/gin/ginxlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ ginRedoSplit(XLogReaderState *record)
409409

410410
/*
411411
* VACUUM_PAGE record contains simply a full image of the page, similar to
412-
* a XLOG_FPI record.
412+
* an XLOG_FPI record.
413413
*/
414414
static void
415415
ginRedoVacuumPage(XLogReaderState *record)

0 commit comments

Comments
 (0)