We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8eb6337 commit 8529686Copy full SHA for 8529686
contrib/postgres_fdw/deparse.c
@@ -1026,11 +1026,10 @@ static void
1026
deparseFromExpr(List *quals, deparse_expr_cxt *context)
1027
{
1028
StringInfo buf = context->buf;
1029
- RelOptInfo *foreignrel = context->foreignrel;
1030
RelOptInfo *scanrel = context->scanrel;
1031
1032
/* For upper relations, scanrel must be either a joinrel or a baserel */
1033
- Assert(foreignrel->reloptkind != RELOPT_UPPER_REL ||
+ Assert(context->foreignrel->reloptkind != RELOPT_UPPER_REL ||
1034
scanrel->reloptkind == RELOPT_JOINREL ||
1035
scanrel->reloptkind == RELOPT_BASEREL);
1036
0 commit comments