pgsql: Simplify FK-to-partitioned regression test query

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Simplify FK-to-partitioned regression test query
Дата
Msg-id E1j4rcK-0003yA-C8@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add kqueue(2) support to the WaitEventSet API.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Doc: Fix instructions to control build environment with MSVC