Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite451dd5

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 HerreraAuthor: Andres FreundDiscussion:https://postgr.es/m/201901141836.oxtm4uzc63j3@alvherre.pgsql
1 parent4c850ec commite451dd5

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-
typedefstructattrMissing*MissingPtr;
29-
3028
typedefstructconstrCheck
3129
{
3230
char*ccname;
@@ -40,7 +38,7 @@ typedef struct tupleConstr
4038
{
4139
AttrDefault*defval;/* array */
4240
ConstrCheck*check;/* array */
43-
MissingPtrmissing;/* missing attributes values, NULL if none */
41+
structattrMissing*missing;/* missing attributes values, NULL if none */
4442
uint16num_defval;
4543
uint16num_check;
4644
boolhas_not_null;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp