Improve two error messages related to foreign keys on partitioned tables
Error messages for creating a foreign key on a partitioned table using
ONLY or NOT VALID were wrong in mentioning the objects they worked on.
This commit adds on the way some regression tests missing for those
cases.
Author: Laurenz Albe
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/c11c05810a9ed65e9b2c817a9ef442275a32fe80.camel@cybertec.at
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/c8ed820c68bcad00d07d60e436cdddb7c0edf44d
Modified Files
--------------
src/backend/commands/tablecmds.c | 6 ++++--
src/test/regress/expected/foreign_key.out | 11 +++++++++++
src/test/regress/sql/foreign_key.sql | 9 +++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.