From 86ef36c9078311d5ccba53c17702af0450b11e25 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sun, 7 Nov 1999 23:08:36 +0000 Subject: New NameStr macro to convert Name to Str. No need for var.data anymore. Fewer calls to nameout. Better use of RelationGetRelationName. --- src/backend/commands/indexcmds.c | 4 ++-- 1 file changed, 2 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 5f82c2b5321..1e110bcdb9c 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.12 1999/10/02 21:33:24 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.13 1999/11/07 23:08:02 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -533,7 +533,7 @@ GetDefaultOpClass(Oid atttypid) if (!HeapTupleIsValid(tuple)) return 0; - return nameout(&(((Form_pg_opclass) GETSTRUCT(tuple))->opcname)); + return nameout(&((Form_pg_opclass) GETSTRUCT(tuple))->opcname); } /* -- cgit v1.2.3