pgsql: Add test case for same-type reordered FK columns
В списке pgsql-committers по дате отправления:
| От | Amit Langote |
|---|---|
| Тема | pgsql: Add test case for same-type reordered FK columns |
| Дата | |
| Msg-id | E1wB7un-000HHt-0T@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Add test case for same-type reordered FK columns The test added in 980c1a85d819 covered reordered FK columns with different types, which triggered an "operator not a member of opfamily" error in the fast-path prior to that commit. Add a test for the same-type case, which is also fixed by that commit but where the wrong scan key ordering instead produced a spurious FK violation without any internal error. Reported-by: Fredrik Widlert <fredrik.widlert@digpro.se> Discussion: https://postgr.es/m/CADfhSr8hYc-4Cz7vfXH_oV-Jq81pyK9W4phLrOGspovsg2W7Kw@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/009ea1b08d7b8843435bd0f1137fa3df09aac79f Modified Files -------------- src/test/regress/expected/foreign_key.out | 10 ++++++++++ src/test/regress/sql/foreign_key.sql | 9 +++++++++ 2 files changed, 19 insertions(+)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера