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/postgres.h | |
parent | df723a8a8aa3326d2ade8ad846a296e2e2500a64 (diff) | |
download | postgresql-86ef36c9078311d5ccba53c17702af0450b11e25.tar.gz postgresql-86ef36c9078311d5ccba53c17702af0450b11e25.zip |
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/postgres.h')
-rw-r--r-- | src/include/postgres.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index 0beb504d388..396c3c262bf 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -6,7 +6,7 @@ * * Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.29 1999/11/04 08:01:07 inoue Exp $ + * $Id: postgres.h,v 1.30 1999/11/07 23:08:32 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -115,6 +115,8 @@ typedef union nameData } NameData; typedef NameData *Name; +#define NameStr(name) ((name).data) + /* ---------------------------------------------------------------- * Section 3: TransactionId and CommandId * ---------------------------------------------------------------- |