- Notifications
You must be signed in to change notification settings - Fork5
Commitd31b20a
committed
Fix dumping of DEFERRABLE/INITIALLY DEFERRED:
> The big problem is that while pg_dump's dump_trigger() looks at> tginitdeferred and dumps accordingly, pg_get_constraintdef doesn't look> at tginitdeferred, and therefore doesn't record the requirement as part> of ALTER TABLE ADD CONSTRAINT.pg_get_constraintdef should probably be looking at condeferrable andcondeferred in the pg_constraint row it's looking at. Maybe somethinglike the attached.(Added, output only non-default values.)Stephan Szabo1 parent5e36cbe commitd31b20a
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
688 | 688 |
| |
689 | 689 |
| |
690 | 690 |
| |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
691 | 696 |
| |
692 | 697 |
| |
693 | 698 |
| |
|
0 commit comments
Comments
(0)