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/parser/analyze.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/backend/parser/analyze.c') diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c index b5305edb54b..5824c300d7c 100644 --- a/src/backend/parser/analyze.c +++ b/src/backend/parser/analyze.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: analyze.c,v 1.151 2000/07/15 00:01:41 tgl Exp $ + * $Id: analyze.c,v 1.152 2000/08/03 16:35:08 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -2078,7 +2078,8 @@ transformFkeyGetPrimaryKey(FkConstraint *fkconstraint) int pkattno = indexStruct->indkey[i]; Ident *pkattr = makeNode(Ident); - pkattr->name = nameout(&(pkrel_attrs[pkattno - 1]->attname)); + pkattr->name = DatumGetCString(DirectFunctionCall1(nameout, + NameGetDatum(&(pkrel_attrs[pkattno - 1]->attname)))); pkattr->indirection = NIL; pkattr->isRel = false; -- cgit v1.2.3