diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-02-20 14:14:20 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-02-20 14:14:20 -0300 |
commit | b2304a71748a3e664a1b8354d746f28c38aaa816 (patch) | |
tree | 76f4ccea1f1a98210daf1bcedf2d46d092e85959 /src/backend/executor/nodeModifyTable.c | |
parent | 53b01acd463d64c385db0ab728b8cc336549a315 (diff) | |
download | postgresql-b2304a71748a3e664a1b8354d746f28c38aaa816.tar.gz postgresql-b2304a71748a3e664a1b8354d746f28c38aaa816.zip |
Simplify FK-to-partitioned regression test query
Avoid a join between relations having the FK to detect FK violation.
The planner might optimize this considering the PK must exist on the
referenced side at some point, effectively masking a bug this test
tries to detect.
Tom Lane and Jehan-Guillaume de Rorthais
Discussion: https://postgr.es/m/467.1581270529@sss.pgh.pa.us
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions