Skip to content

Commit 8529686

Browse files
committed
Suppress unused-variable warning in non-assert builds.
Introduced in commit 7012b13. Kyotaro Horiguchi
1 parent 8eb6337 commit 8529686

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contrib/postgres_fdw/deparse.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,11 +1026,10 @@ static void
10261026
deparseFromExpr(List *quals, deparse_expr_cxt *context)
10271027
{
10281028
StringInfo buf = context->buf;
1029-
RelOptInfo *foreignrel = context->foreignrel;
10301029
RelOptInfo *scanrel = context->scanrel;
10311030

10321031
/* For upper relations, scanrel must be either a joinrel or a baserel */
1033-
Assert(foreignrel->reloptkind != RELOPT_UPPER_REL ||
1032+
Assert(context->foreignrel->reloptkind != RELOPT_UPPER_REL ||
10341033
scanrel->reloptkind == RELOPT_JOINREL ||
10351034
scanrel->reloptkind == RELOPT_BASEREL);
10361035

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