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/backend/utils/cache/inval.c | |
parent | df723a8a8aa3326d2ade8ad846a296e2e2500a64 (diff) |
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/backend/utils/cache/inval.c')
-rw-r--r-- | src/backend/utils/cache/inval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/cache/inval.c b/src/backend/utils/cache/inval.c index 1671a8e9ecd..e5f7beea339 100644 --- a/src/backend/utils/cache/inval.c +++ b/src/backend/utils/cache/inval.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.27 1999/07/16 05:00:38 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/inval.c,v 1.28 1999/11/07 23:08:26 momjian Exp $ * * Note - this code is real crufty... * @@ -584,7 +584,7 @@ RelationInvalidateHeapTuple(Relation relation, HeapTuple tuple) * this only works for system relations now * ---------------- */ - if (!IsSystemRelationName(RelationGetForm(relation)->relname.data)) + if (!IsSystemRelationName(NameStr(RelationGetForm(relation)->relname))) return; /* ---------------- |