Fix typo in comment.
Michael Paquier
This commit is contained in:
parent
361b94c4b9
commit
7842d41df5
@ -1374,7 +1374,7 @@ toast_save_datum(Relation rel, Datum value,
|
|||||||
toastrel = heap_open(rel->rd_rel->reltoastrelid, RowExclusiveLock);
|
toastrel = heap_open(rel->rd_rel->reltoastrelid, RowExclusiveLock);
|
||||||
toasttupDesc = toastrel->rd_att;
|
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,
|
validIndex = toast_open_indexes(toastrel,
|
||||||
RowExclusiveLock,
|
RowExclusiveLock,
|
||||||
&toastidxs,
|
&toastidxs,
|
||||||
@ -1546,7 +1546,7 @@ toast_save_datum(Relation rel, Datum value,
|
|||||||
*/
|
*/
|
||||||
for (i = 0; i < num_indexes; i++)
|
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))
|
if (IndexIsReady(toastidxs[i]->rd_index))
|
||||||
index_insert(toastidxs[i], t_values, t_isnull,
|
index_insert(toastidxs[i], t_values, t_isnull,
|
||||||
&(toasttup->t_self),
|
&(toasttup->t_self),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user