diff options
| author | Bruce Momjian <bruce@momjian.us> | 1999-11-07 23:08:36 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1999-11-07 23:08:36 +0000 |
| commit | 86ef36c9078311d5ccba53c17702af0450b11e25 (patch) | |
| tree | a37836f78c4328e4b3a3ad6308a3779725546525 /src/include/utils | |
| parent | df723a8a8aa3326d2ade8ad846a296e2e2500a64 (diff) | |
| download | postgresql-86ef36c9078311d5ccba53c17702af0450b11e25.tar.gz | |
New NameStr macro to convert Name to Str. No need for var.data anymore.
Fewer calls to nameout.
Better use of RelationGetRelationName.
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/rel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index 28ea74c5e2..b22ad294ce 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: rel.h,v 1.28 1999/11/04 08:01:09 inoue Exp $ + * $Id: rel.h,v 1.29 1999/11/07 23:08:33 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -176,7 +176,7 @@ typedef Relation *RelationPtr; * * Returns a Relation Name */ -#define RelationGetRelationName(relation) (&(relation)->rd_rel->relname) +#define RelationGetRelationName(relation) (NameStr((relation)->rd_rel->relname)) /* * RelationGetNumberOfAttributes |
