Skip to content

Commit 69c4306

Browse files
committed
Track tlist_vinfo.varnullingrels even in non-Assert builds.
Oversight in commit 867be9c (which should get reverted along with that, if we ever do revert it). Per buildfarm.
1 parent 9df8f90 commit 69c4306

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
int varno; /* RT index of Var */
4343
AttrNumber varattno; /* attr number of Var */
4444
AttrNumber resno; /* TLE position of Var */
45-
#ifdef USE_ASSERT_CHECKING
4645
Bitmapset *varnullingrels; /* Var's varnullingrels */
47-
#endif
4846
} tlist_vinfo;
4947

5048
typedef struct
@@ -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-
#ifdef USE_ASSERT_CHECKING
26862683
vinfo->varnullingrels = var->varnullingrels;
2687-
#endif
26882684
vinfo++;
26892685
}
26902686
else if (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-
#ifdef USE_ASSERT_CHECKING
27412736
vinfo->varnullingrels = var->varnullingrels;
2742-
#endif
27432737
vinfo++;
27442738
}
27452739
}

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