summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Korotkov2024-03-27 09:46:12 +0000
committerAlexander Korotkov2024-03-27 09:47:41 +0000
commit818861eb578663a0d4d8d7dc4e18c96a148b3c75 (patch)
treeefec2a1cdada79b0fa82dcfc4ee7c2b5d67a0c83
parent677a45c4ae165f86b4a7b8562795f19f1ed480cf (diff)
Fix some typos and grammar issues from commit 87985cc92522
Reported-by: Alexander Lakhin
-rw-r--r--src/backend/access/heap/heapam.c2
-rw-r--r--src/backend/commands/trigger.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 9a8c8e3348..2f6527df0d 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -3412,7 +3412,7 @@ l2:
/*
* If we're asked to lock the updated tuple, we just fetch the
- * existing tuple. That let's the caller save some resouces on
+ * existing tuple. That lets the caller save some resources on
* placing the lock.
*/
if (result == TM_Updated &&
diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c
index 3309b4ebd2..84494c4b81 100644
--- a/src/backend/commands/trigger.c
+++ b/src/backend/commands/trigger.c
@@ -2784,8 +2784,8 @@ ExecARDeleteTriggers(EState *estate,
(transition_capture && transition_capture->tcs_delete_old_table))
{
/*
- * Put the FDW old tuple to the slot. Otherwise, caller is expected
- * to have old tuple alredy fetched to the slot.
+ * Put the FDW old tuple to the slot. Otherwise, the caller is
+ * expected to have an old tuple already fetched to the slot.
*/
if (fdw_trigtuple != NULL)
ExecForceStoreHeapTuple(fdw_trigtuple, slot, false);