aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2013-07-05 02:47:49 +0900
committerFujii Masao <fujii@postgresql.org>2013-07-05 02:47:49 +0900
commit7842d41df56ab8ad9aff76bc5bd8e96c3d215cde (patch)
treeebc13b1604fa601d69abee17db737de8a92cb0af
parent361b94c4b98b85b19b850cff37be76d1f6d4f8f7 (diff)
downloadpostgresql-7842d41df56ab8ad9aff76bc5bd8e96c3d215cde.tar.gz
postgresql-7842d41df56ab8ad9aff76bc5bd8e96c3d215cde.zip
Fix typo in comment.
Michael Paquier
-rw-r--r--src/backend/access/heap/tuptoaster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/tuptoaster.c b/src/backend/access/heap/tuptoaster.c
index 675bfcc81fe..c76dc24260d 100644
--- a/src/backend/access/heap/tuptoaster.c
+++ b/src/backend/access/heap/tuptoaster.c
@@ -1374,7 +1374,7 @@ toast_save_datum(Relation rel, Datum value,
toastrel = heap_open(rel->rd_rel->reltoastrelid, RowExclusiveLock);
toasttupDesc = toastrel->rd_att;
- /* Open all the toast indexes and look for the valid */
+ /* Open all the toast indexes and look for the valid one */
validIndex = toast_open_indexes(toastrel,
RowExclusiveLock,
&toastidxs,
@@ -1546,7 +1546,7 @@ toast_save_datum(Relation rel, Datum value,
*/
for (i = 0; i < num_indexes; i++)
{
- /* Only index relations marked as ready can updated */
+ /* Only index relations marked as ready can be updated */
if (IndexIsReady(toastidxs[i]->rd_index))
index_insert(toastidxs[i], t_values, t_isnull,
&(toasttup->t_self),