summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2019-01-15 00:07:22 +0000
committerAndres Freund2019-01-15 00:25:50 +0000
commite451dd5521966516110eb1761342ae4a1380b19d (patch)
treeb40abef396959c339d660d1361749eacafb858ac
parent4c850ecec649c1b1538c741b89cf65d8f7d61853 (diff)
Remove too generically named MissingPtr typedef.
As there's only a single user of the typedef in the entire codebase, just use the underlying struct directly. Per complaint from Alvaro Herrera Author: Andres Freund Discussion: https://postgr.es/m/[email protected]
-rw-r--r--src/include/access/tupdesc.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/access/tupdesc.h b/src/include/access/tupdesc.h
index d88bdcec84..93546ce585 100644
--- a/src/include/access/tupdesc.h
+++ b/src/include/access/tupdesc.h
@@ -25,8 +25,6 @@ typedef struct attrDefault
char *adbin; /* nodeToString representation of expr */
} AttrDefault;
-typedef struct attrMissing *MissingPtr;
-
typedef struct constrCheck
{
char *ccname;
@@ -40,7 +38,7 @@ typedef struct tupleConstr
{
AttrDefault *defval; /* array */
ConstrCheck *check; /* array */
- MissingPtr missing; /* missing attributes values, NULL if none */
+ struct attrMissing *missing; /* missing attributes values, NULL if none */
uint16 num_defval;
uint16 num_check;
bool has_not_null;