mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
New NameStr macro to convert Name to Str. No need for var.data anymore.
Fewer calls to nameout. Better use of RelationGetRelationName.
This commit is contained in:
@ -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
|
||||
* ----------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user