Improve two error messages related to foreign keys on partitioned tables
Michael Paquier <michael@paquier.xyz>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/tablecmds.c | modified | +4 −2 |
| src/test/regress/expected/foreign_key.out | modified | +11 −0 |
| src/test/regress/sql/foreign_key.sql | modified | +9 −0 |
Discussion
- Unclear error message 7 messages · 2018-09-20 → 2018-10-08