Skip to content

Commit e451dd5

Browse files
committed
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/201901141836.oxtm4uzc63j3@alvherre.pgsql
1 parent 4c850ec commit e451dd5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/include/access/tupdesc.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ typedef struct attrDefault
2525
char *adbin; /* nodeToString representation of expr */
2626
} AttrDefault;
2727

28-
typedef struct attrMissing *MissingPtr;
29-
3028
typedef struct constrCheck
3129
{
3230
char *ccname;
@@ -40,7 +38,7 @@ typedef struct tupleConstr
4038
{
4139
AttrDefault *defval; /* array */
4240
ConstrCheck *check; /* array */
43-
MissingPtr missing; /* missing attributes values, NULL if none */
41+
struct attrMissing *missing; /* missing attributes values, NULL if none */
4442
uint16 num_defval;
4543
uint16 num_check;
4644
bool has_not_null;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy