From c298d74d4957845bb03a67092c30b53e5e0d01c2 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 3 Aug 2000 16:35:08 +0000 Subject: More functions updated to new fmgr style --- money, name, tid datatypes. We're reaching the mopup stage here (good thing too, this is getting tedious). --- src/backend/access/heap/tuptoaster.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/backend/access') diff --git a/src/backend/access/heap/tuptoaster.c b/src/backend/access/heap/tuptoaster.c index bab1185730..61076444a2 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.10 2000/07/31 22:39:17 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/heap/tuptoaster.c,v 1.11 2000/08/03 16:33:40 tgl Exp $ * * * INTERFACE ROUTINES @@ -785,12 +785,14 @@ toast_save_datum(Relation rel, Oid mainoid, int16 attno, Datum value) toastrel = heap_open(rel->rd_rel->reltoastrelid, RowExclusiveLock); if (toastrel == NULL) elog(ERROR, "Failed to open secondary relation of %s", - nameout(&(rel->rd_rel->relname))); + DatumGetCString(DirectFunctionCall1(nameout, + NameGetDatum(&(rel->rd_rel->relname))))); toasttupDesc = toastrel->rd_att; toastidx = index_open(rel->rd_rel->reltoastidxid); if (toastidx == NULL) elog(ERROR, "Failed to open index for secondary relation of %s", - nameout(&(rel->rd_rel->relname))); + DatumGetCString(DirectFunctionCall1(nameout, + NameGetDatum(&(rel->rd_rel->relname))))); /* ---------- * Split up the item into chunks -- cgit v1.2.1