projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eb6337
)
Suppress unused-variable warning in non-assert builds.
author
Tom Lane
<
[email protected]
>
Wed, 26 Oct 2016 14:19:27 +0000
(10:19 -0400)
committer
Tom Lane
<
[email protected]
>
Wed, 26 Oct 2016 14:19:41 +0000
(10:19 -0400)
Introduced in commit
7012b132d
.
Kyotaro Horiguchi
contrib/postgres_fdw/deparse.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/postgres_fdw/deparse.c
b/contrib/postgres_fdw/deparse.c
index 8da8c114a82e7409c36c0c52c758d5f3b05405b1..450693ad820b6304f79a95bac9275c55c09af069 100644
(file)
--- a/
contrib/postgres_fdw/deparse.c
+++ b/
contrib/postgres_fdw/deparse.c
@@
-1026,11
+1026,10
@@
static void
deparseFromExpr(List *quals, deparse_expr_cxt *context)
{
StringInfo buf = context->buf;
- RelOptInfo *foreignrel = context->foreignrel;
RelOptInfo *scanrel = context->scanrel;
/* For upper relations, scanrel must be either a joinrel or a baserel */
- Assert(foreignrel->reloptkind != RELOPT_UPPER_REL ||
+ Assert(
context->
foreignrel->reloptkind != RELOPT_UPPER_REL ||
scanrel->reloptkind == RELOPT_JOINREL ||
scanrel->reloptkind == RELOPT_BASEREL);