Skip to content

Commit 7842d41

Browse files
committed
Fix typo in comment.
Michael Paquier
1 parent 361b94c commit 7842d41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/heap/tuptoaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ toast_save_datum(Relation rel, Datum value,
13741374
toastrel = heap_open(rel->rd_rel->reltoastrelid, RowExclusiveLock);
13751375
toasttupDesc = toastrel->rd_att;
13761376

1377-
/* Open all the toast indexes and look for the valid */
1377+
/* Open all the toast indexes and look for the valid one */
13781378
validIndex = toast_open_indexes(toastrel,
13791379
RowExclusiveLock,
13801380
&toastidxs,
@@ -1546,7 +1546,7 @@ toast_save_datum(Relation rel, Datum value,
15461546
*/
15471547
for (i = 0; i < num_indexes; i++)
15481548
{
1549-
/* Only index relations marked as ready can updated */
1549+
/* Only index relations marked as ready can be updated */
15501550
if (IndexIsReady(toastidxs[i]->rd_index))
15511551
index_insert(toastidxs[i], t_values, t_isnull,
15521552
&(toasttup->t_self),

0 commit comments

Comments
 (0)