diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-01-19 18:20:48 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-01-19 18:20:58 -0500 |
commit | d479e37e3d20efad8b178e0f1e468c086a7519a8 (patch) | |
tree | 8da29b73b3f7a08d256450d37aad5355bc236432 /src/backend/tcop/postgres.c | |
parent | 182200531a92204b0547d337f50b665d222af168 (diff) | |
download | postgresql-d479e37e3d20efad8b178e0f1e468c086a7519a8.tar.gz postgresql-d479e37e3d20efad8b178e0f1e468c086a7519a8.zip |
Fix Assert failure induced by commit 215b43cdc.
I'd somehow talked myself into believing that set_append_rel_size
doesn't need to worry about getting back an AND clause when it applies
eval_const_expressions to the result of adjust_appendrel_attrs (that is,
transposing the appendrel parent's restriction clauses for one child).
But that is nonsense, and Andreas Seltenreich's fuzz tester soon
turned up a counterexample. Put back the make_ands_implicit step
that was there before, and add a regression test covering the case.
Report: https://postgr.es/m/878tq6vja6.fsf@ansel.ydns.eu
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions