mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
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).
This commit is contained in:
@ -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)));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user