pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Simplify FK-to-partitioned regression test query 2+ messages / 1 participants [nested] [flat]
* pgsql: Simplify FK-to-partitioned regression test query @ 2020-02-20 19:36 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 2+ messages in thread From: Alvaro Herrera @ 2020-02-20 19:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b2304a71748a3e664a1b8354d746f28c38aaa816 Modified Files -------------- src/test/regress/expected/foreign_key.out | 14 ++++++++------ src/test/regress/sql/foreign_key.sql | 6 ++---- 2 files changed, 10 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Simplify FK-to-partitioned regression test query @ 2020-02-20 19:36 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 2+ messages in thread From: Alvaro Herrera @ 2020-02-20 19:36 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3f50d5ced3f854119862b1ce60a6f3c5d38a4386 Modified Files -------------- src/test/regress/expected/foreign_key.out | 14 ++++++++------ src/test/regress/sql/foreign_key.sql | 6 ++---- 2 files changed, 10 insertions(+), 10 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-02-20 19:36 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-02-20 19:36 pgsql: Simplify FK-to-partitioned regression test query Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-02-20 19:36 pgsql: Simplify FK-to-partitioned regression test query Alvaro Herrera <alvherre@alvh.no-ip.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox