- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit8af310b
Prevent creation of duplicate not-null constraints for domains
This was previously harmless, but now that we create pg_constraint rowsfor those, duplicates are not welcome anymore.Backpatch to 18.Co-authored-by: jian he <jian.universality@gmail.com>Co-authored-by: Álvaro Herrera <alvherre@kurilemu.de>Discussion:https://postgr.es/m/CACJufxFSC0mcQ82bSk58sO-WJY4P-o4N6RD2M0D=DD_u_6EzdQ@mail.gmail.com1 parentf0151e2 commit8af310b
File tree
3 files changed
+19
-3
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
943 | 950 | | |
944 | | - | |
945 | | - | |
| 951 | + | |
| 952 | + | |
946 | 953 | | |
| 954 | + | |
947 | 955 | | |
948 | 956 | | |
949 | 957 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
1022 | 1027 | | |
1023 | 1028 | | |
1024 | 1029 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
605 | 608 | | |
606 | 609 | | |
607 | 610 | | |
| |||
0 commit comments
Comments
(0)