summaryrefslogtreecommitdiff
path: root/src/include/postgres.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/postgres.h')
-rw-r--r--src/include/postgres.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h
index 0c1d21b17e..0b72b95966 100644
--- a/src/include/postgres.h
+++ b/src/include/postgres.h
@@ -115,6 +115,8 @@ typedef union nameData
} NameData;
typedef NameData *Name;
+#define NameStr(name) ((name).data)
+
/* ----------------------------------------------------------------
* Section 3: TransactionId and CommandId
* ----------------------------------------------------------------