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/include/postgres.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/postgres.h') 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 * ---------------------------------------------------------------- -- cgit v1.2.3