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

Commit4d81ad2

Browse files
tglsfdcpull[bot]
authored andcommitted
Track tlist_vinfo.varnullingrels even in non-Assert builds.
Oversight in commit867be9c (which should get revertedalong with that, if we ever do revert it). Per buildfarm.
1 parent5c8fd54 commit4d81ad2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

‎src/backend/optimizer/plan/setrefs.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ typedef struct
4242
intvarno;/* RT index of Var */
4343
AttrNumbervarattno;/* attr number of Var */
4444
AttrNumberresno;/* TLE position of Var */
45-
#ifdefUSE_ASSERT_CHECKING
4645
Bitmapset*varnullingrels;/* Var's varnullingrels */
47-
#endif
4846
}tlist_vinfo;
4947

5048
typedefstruct
@@ -2682,9 +2680,7 @@ build_tlist_index(List *tlist)
26822680
vinfo->varno=var->varno;
26832681
vinfo->varattno=var->varattno;
26842682
vinfo->resno=tle->resno;
2685-
#ifdefUSE_ASSERT_CHECKING
26862683
vinfo->varnullingrels=var->varnullingrels;
2687-
#endif
26882684
vinfo++;
26892685
}
26902686
elseif (tle->expr&&IsA(tle->expr,PlaceHolderVar))
@@ -2737,9 +2733,7 @@ build_tlist_index_other_vars(List *tlist, int ignore_rel)
27372733
vinfo->varno=var->varno;
27382734
vinfo->varattno=var->varattno;
27392735
vinfo->resno=tle->resno;
2740-
#ifdefUSE_ASSERT_CHECKING
27412736
vinfo->varnullingrels=var->varnullingrels;
2742-
#endif
27432737
vinfo++;
27442738
}
27452739
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp