|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * IDENTIFICATION
|
11 |
| - * $Header: /cvsroot/pgsql/src/backend/access/heap/tuptoaster.c,v 1.15 2001/01/23 04:32:20 tgl Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/backend/access/heap/tuptoaster.c,v 1.16 2001/02/09 17:30:03 tgl Exp $ |
12 | 12 | *
|
13 | 13 | *
|
14 | 14 | * INTERFACE ROUTINES
|
@@ -349,12 +349,12 @@ toast_insert_or_update(Relation rel, HeapTuple newtup, HeapTuple oldtup)
|
349 | 349 | toast_action[i]='p';
|
350 | 350 |
|
351 | 351 | /* ----------
|
352 |
| - * We took care of UPDATE above, so anyTOASTed value we find |
| 352 | + * We took care of UPDATE above, so anyexternal value we find |
353 | 353 | * still in the tuple must be someone else's we cannot reuse.
|
354 | 354 | * Expand it to plain (and, probably, toast it again below).
|
355 | 355 | * ----------
|
356 | 356 | */
|
357 |
| -if (VARATT_IS_EXTENDED(DatumGetPointer(toast_values[i]))) |
| 357 | +if (VARATT_IS_EXTERNAL(DatumGetPointer(toast_values[i]))) |
358 | 358 | {
|
359 | 359 | toast_values[i]=PointerGetDatum(heap_tuple_untoast_attr(
|
360 | 360 | (varattrib*)DatumGetPointer(toast_values[i])));
|
|