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/commands/indexcmds.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/backend/commands/indexcmds.c') diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index 6ede4f51c12..85de47a6766 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.35 2000/07/14 22:17:42 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.36 2000/08/03 16:34:01 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -576,7 +576,8 @@ GetDefaultOpClass(Oid atttypid) if (!HeapTupleIsValid(tuple)) return NULL; - return nameout(&((Form_pg_opclass) GETSTRUCT(tuple))->opcname); + return DatumGetCString(DirectFunctionCall1(nameout, + NameGetDatum(&((Form_pg_opclass) GETSTRUCT(tuple))->opcname))); } /* -- cgit v1.2.3