diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-03 16:35:08 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-03 16:35:08 +0000 |
commit | c298d74d4957845bb03a67092c30b53e5e0d01c2 (patch) | |
tree | 4dca901e87c14a249de21374da867db1059b8462 /src/backend/commands/indexcmds.c | |
parent | 1bd3a8f58bb8147628a85643b0246051a6e4e5ee (diff) | |
download | postgresql-c298d74d4957845bb03a67092c30b53e5e0d01c2.tar.gz postgresql-c298d74d4957845bb03a67092c30b53e5e0d01c2.zip |
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).
Diffstat (limited to 'src/backend/commands/indexcmds.c')
-rw-r--r-- | src/backend/commands/indexcmds.c | 5 |
1 files changed, 3 insertions, 2 deletions
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))); } /* |