@@ -1667,7 +1667,7 @@ toast_delete_datum(Relation rel, Datum value)
16671667 HeapTuple toasttup ;
16681668 int num_indexes ;
16691669 int validIndex ;
1670- SnapshotData SnapshotToast ;
1670+ SnapshotData SnapshotToast ;
16711671
16721672 if (!VARATT_IS_EXTERNAL_ONDISK (attr ))
16731673 return ;
@@ -1734,7 +1734,7 @@ toastrel_valueid_exists(Relation toastrel, Oid valueid)
17341734 int num_indexes ;
17351735 int validIndex ;
17361736 Relation * toastidxs ;
1737- SnapshotData SnapshotToast ;
1737+ SnapshotData SnapshotToast ;
17381738
17391739 /* Fetch a valid index relation */
17401740 validIndex = toast_open_indexes (toastrel ,
@@ -1819,7 +1819,7 @@ toast_fetch_datum(struct varlena * attr)
18191819 int32 chunksize ;
18201820 int num_indexes ;
18211821 int validIndex ;
1822- SnapshotData SnapshotToast ;
1822+ SnapshotData SnapshotToast ;
18231823
18241824 if (!VARATT_IS_EXTERNAL_ONDISK (attr ))
18251825 elog (ERROR , "toast_fetch_datum shouldn't be called for non-ondisk datums" );
@@ -1998,7 +1998,7 @@ toast_fetch_datum_slice(struct varlena * attr, int32 sliceoffset, int32 length)
19981998 int32 chcpyend ;
19991999 int num_indexes ;
20002000 int validIndex ;
2001- SnapshotData SnapshotToast ;
2001+ SnapshotData SnapshotToast ;
20022002
20032003 if (!VARATT_IS_EXTERNAL_ONDISK (attr ))
20042004 elog (ERROR , "toast_fetch_datum_slice shouldn't be called for non-ondisk datums" );
@@ -2094,7 +2094,7 @@ toast_fetch_datum_slice(struct varlena * attr, int32 sliceoffset, int32 length)
20942094 init_toast_snapshot (& SnapshotToast );
20952095 nextidx = startchunk ;
20962096 toastscan = systable_beginscan_ordered (toastrel , toastidxs [validIndex ],
2097- & SnapshotToast , nscankeys , toastkey );
2097+ & SnapshotToast , nscankeys , toastkey );
20982098 while ((ttup = systable_getnext_ordered (toastscan , ForwardScanDirection )) != NULL )
20992099 {
21002100 /*
0 commit comments