pgsql: Improve two error messages related to foreign keys on partitione

2018-10-08 Thread Michael Paquier
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:

pgsql: Improve two error messages related to foreign keys on partitione

2018-10-08 Thread Michael Paquier
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: