forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit954744f
committed
Fix VALIDATE CONSTRAINT to consider NO INHERIT attribute.
Currently, trying to validate a NO INHERIT constraint on the parent willsearch for the constraint in child tables (where it is not supposed toexist), wrongly causing a "constraint does not exist" error.Amit Langote, per a report from Hans Buschmann.Discussion:http://postgr.es/m/20170421184012.24362.19@wrigleys.postgresql.org1 parent8565808 commit954744f
File tree
3 files changed
+38
-2
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+38
-2
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6262 | 6262 |
| |
6263 | 6263 |
| |
6264 | 6264 |
| |
6265 |
| - | |
| 6265 | + | |
| 6266 | + | |
6266 | 6267 |
| |
6267 |
| - | |
| 6268 | + | |
6268 | 6269 |
| |
6269 | 6270 |
| |
6270 | 6271 |
| |
|
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
365 | 365 |
| |
366 | 366 |
| |
367 | 367 |
| |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
368 | 388 |
| |
369 | 389 |
| |
370 | 390 |
| |
|
Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
306 | 306 |
| |
307 | 307 |
| |
308 | 308 |
| |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
309 | 324 |
| |
310 | 325 |
| |
311 | 326 |
| |
|
0 commit comments
Comments
(0)