diff options
author | Jan Wieck <JanWieck@Yahoo.com> | 2001-06-22 19:16:24 +0000 |
---|---|---|
committer | Jan Wieck <JanWieck@Yahoo.com> | 2001-06-22 19:16:24 +0000 |
commit | 8d80b0d980c327edf162e20fdc829559e8aff224 (patch) | |
tree | cdd7d11b95a539d7dd771c80e5e1535c75af8b6c /src/backend/access/heap/tuptoaster.c | |
parent | 7d6e28149ea699b28773eefa48acc449b67d6ff4 (diff) |
Statistical system views (yet without the config stuff, but
it's hard to keep such massive changes in sync with the tree
so I need to get it in and work from there now).
Jan
Diffstat (limited to 'src/backend/access/heap/tuptoaster.c')
-rw-r--r-- | src/backend/access/heap/tuptoaster.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/heap/tuptoaster.c b/src/backend/access/heap/tuptoaster.c index 2a9df577b10..74f0e06e61c 100644 --- a/src/backend/access/heap/tuptoaster.c +++ b/src/backend/access/heap/tuptoaster.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/heap/tuptoaster.c,v 1.22 2001/05/07 00:43:15 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/heap/tuptoaster.c,v 1.23 2001/06/22 19:16:20 wieck Exp $ * * * INTERFACE ROUTINES @@ -936,7 +936,7 @@ toast_delete_datum(Relation rel, Datum value) while ((indexRes = index_getnext(toastscan, ForwardScanDirection)) != NULL) { toasttup.t_self = indexRes->heap_iptr; - heap_fetch(toastrel, SnapshotAny, &toasttup, &buffer); + heap_fetch(toastrel, SnapshotAny, &toasttup, &buffer, toastscan); pfree(indexRes); if (!toasttup.t_data) @@ -1029,7 +1029,7 @@ toast_fetch_datum(varattrib *attr) while ((indexRes = index_getnext(toastscan, ForwardScanDirection)) != NULL) { toasttup.t_self = indexRes->heap_iptr; - heap_fetch(toastrel, SnapshotAny, &toasttup, &buffer); + heap_fetch(toastrel, SnapshotAny, &toasttup, &buffer, toastscan); pfree(indexRes); if (toasttup.t_data == NULL) |