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

Commit 5d08137

Browse files
committed
Fix some typos with {a,an}
One of the changes impacts the documentation, so backpatch. Author: Peter Smith Discussion: https://postgr.es/m/CAHut+Pu6+c+r3mY24VT7u+H+E_s6vMr5OdRiZ8NT3EOa-E5Lmw@mail.gmail.com Backpatch-through: 14
1 parent 5e97905 commit 5d08137

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

contrib/amcheck/verify_nbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ bt_target_page_check(BtreeCheckState *state)
15121512
/*
15131513
* Special case bt_child_highkey_check() call
15141514
*
1515-
* We don't pass an real downlink, but we've to finish the level
1515+
* We don't pass a real downlink, but we've to finish the level
15161516
* processing. If condition is satisfied, we've already processed all the
15171517
* downlinks from the target level. But there still might be pages to the
15181518
* right of the child page pointer to by our rightmost downlink. And they

doc/src/sgml/ecpg.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6977,7 +6977,7 @@ EXEC SQL CLOSE cursor_name;
69776977
<title>Compatibility</title>
69786978

69796979
<para>
6980-
<command>DECLARE STATEMENT</command> is a extension of the SQL standard,
6980+
<command>DECLARE STATEMENT</command> is an extension of the SQL standard,
69816981
but can be used in famous DBMSs.
69826982
</para>
69836983
</refsect1>

src/backend/access/table/toast_helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* All of these arrays should have a length equal to tupleDesc->natts.
3434
*
3535
* On return, toast_flags and toast_attr will have been initialized.
36-
* toast_flags is just a single uint8, but toast_attr is an caller-provided
36+
* toast_flags is just a single uint8, but toast_attr is a caller-provided
3737
* array with a length equal to tupleDesc->natts. The caller need not
3838
* perform any initialization of the array before calling this function.
3939
*/

src/backend/catalog/pg_depend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ recordMultipleDependencies(const ObjectAddress *depender,
180180
* Passing false is a guarantee that the object is newly created, and so
181181
* could not already be a member of any extension.
182182
*
183-
* Note: isReplace = true is typically used when updating a object in
183+
* Note: isReplace = true is typically used when updating an object in
184184
* CREATE OR REPLACE and similar commands. The net effect is that if an
185185
* extension script uses such a command on a pre-existing free-standing
186186
* object, the object will be absorbed into the extension. If the object

src/backend/jit/llvm/llvmjit_error.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ llvm_leave_fatal_on_oom(void)
8484
}
8585

8686
/*
87-
* Are we currently in an fatal-on-oom section? Useful to skip cleanup in case
87+
* Are we currently in a fatal-on-oom section? Useful to skip cleanup in case
8888
* of errors.
8989
*/
9090
bool

src/backend/replication/logical/reorderbuffer.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ ReorderBufferReturnTXN(ReorderBuffer *rb, ReorderBufferTXN *txn)
452452
}
453453

454454
/*
455-
* Get an fresh ReorderBufferChange.
455+
* Get a fresh ReorderBufferChange.
456456
*/
457457
ReorderBufferChange *
458458
ReorderBufferGetChange(ReorderBuffer *rb)
@@ -558,7 +558,7 @@ ReorderBufferGetTupleBuf(ReorderBuffer *rb, Size tuple_len)
558558
}
559559

560560
/*
561-
* Free an ReorderBufferTupleBuf.
561+
* Free a ReorderBufferTupleBuf.
562562
*/
563563
void
564564
ReorderBufferReturnTupleBuf(ReorderBuffer *rb, ReorderBufferTupleBuf *tuple)
@@ -639,7 +639,7 @@ ReorderBufferTXNByXid(ReorderBuffer *rb, TransactionId xid, bool create,
639639
}
640640

641641
/*
642-
* If the cache wasn't hit or it yielded an "does-not-exist" and we want
642+
* If the cache wasn't hit or it yielded a "does-not-exist" and we want
643643
* to create an entry.
644644
*/
645645

0 commit comments

Comments
 (0)