forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0484175
committed
Fix pg_get_constraintdef to cope with NOT VALID constraints
This case was missed when NOT VALID constraints were first introduced incommit722bf70 by Simon Riggs on2011-02-08. Among other things, it causes pg_dump to omit the NOT VALIDflag when dumping such constraints, which may cause them to fail toload afterwards, if they contained values failing the constraint.Per report from Thom Brown.1 parentea8e42f commit0484175
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1373 | 1373 |
| |
1374 | 1374 |
| |
1375 | 1375 |
| |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
1376 | 1379 |
| |
1377 | 1380 |
| |
1378 | 1381 |
| |
|
0 commit comments
Comments
(0)