@@ -1667,7 +1667,7 @@ toast_delete_datum(Relation rel, Datum value)
1667
1667
HeapTuple toasttup ;
1668
1668
int num_indexes ;
1669
1669
int validIndex ;
1670
- SnapshotData SnapshotToast ;
1670
+ SnapshotData SnapshotToast ;
1671
1671
1672
1672
if (!VARATT_IS_EXTERNAL_ONDISK (attr ))
1673
1673
return ;
@@ -1734,7 +1734,7 @@ toastrel_valueid_exists(Relation toastrel, Oid valueid)
1734
1734
int num_indexes ;
1735
1735
int validIndex ;
1736
1736
Relation * toastidxs ;
1737
- SnapshotData SnapshotToast ;
1737
+ SnapshotData SnapshotToast ;
1738
1738
1739
1739
/* Fetch a valid index relation */
1740
1740
validIndex = toast_open_indexes (toastrel ,
@@ -1819,7 +1819,7 @@ toast_fetch_datum(struct varlena * attr)
1819
1819
int32 chunksize ;
1820
1820
int num_indexes ;
1821
1821
int validIndex ;
1822
- SnapshotData SnapshotToast ;
1822
+ SnapshotData SnapshotToast ;
1823
1823
1824
1824
if (!VARATT_IS_EXTERNAL_ONDISK (attr ))
1825
1825
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)
1998
1998
int32 chcpyend ;
1999
1999
int num_indexes ;
2000
2000
int validIndex ;
2001
- SnapshotData SnapshotToast ;
2001
+ SnapshotData SnapshotToast ;
2002
2002
2003
2003
if (!VARATT_IS_EXTERNAL_ONDISK (attr ))
2004
2004
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)
2094
2094
init_toast_snapshot (& SnapshotToast );
2095
2095
nextidx = startchunk ;
2096
2096
toastscan = systable_beginscan_ordered (toastrel , toastidxs [validIndex ],
2097
- & SnapshotToast , nscankeys , toastkey );
2097
+ & SnapshotToast , nscankeys , toastkey );
2098
2098
while ((ttup = systable_getnext_ordered (toastscan , ForwardScanDirection )) != NULL )
2099
2099
{
2100
2100
/*
0 commit comments