forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb833c3d
committed
Fix pg_get_constraintdef() to ensure CHECK constraints are always shown
with required outer parentheses. Breakage seems to be leftover fromdomain-constraint patches. This could be smarter about suppressingextra parens, but at this stage of the release cycle I want certaintynot cuteness.1 parentec1fbbb commitb833c3d
File tree
3 files changed
+23
-64
lines changed- src
- backend/utils
- adt
- cache
- include/utils
3 files changed
+23
-64
lines changedLines changed: 21 additions & 30 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
1048 | 1048 |
| |
1049 | 1049 |
| |
1050 | 1050 |
| |
1051 |
| - | |
1052 |
| - | |
1053 |
| - | |
1054 |
| - | |
1055 |
| - | |
1056 |
| - | |
1057 |
| - | |
1058 |
| - | |
1059 |
| - | |
1060 |
| - | |
1061 |
| - | |
1062 |
| - | |
1063 |
| - | |
| 1051 | + | |
1064 | 1052 |
| |
1065 | 1053 |
| |
1066 | 1054 |
| |
1067 |
| - | |
| 1055 | + | |
1068 | 1056 |
| |
1069 | 1057 |
| |
1070 | 1058 |
| |
| |||
1078 | 1066 |
| |
1079 | 1067 |
| |
1080 | 1068 |
| |
| 1069 | + | |
1081 | 1070 |
| |
1082 |
| - | |
| 1071 | + | |
| 1072 | + | |
1083 | 1073 |
| |
1084 | 1074 |
| |
| 1075 | + | |
1085 | 1076 |
| |
1086 |
| - | |
1087 |
| - | |
1088 |
| - | |
1089 |
| - | |
1090 |
| - | |
1091 |
| - | |
1092 |
| - | |
1093 |
| - | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1094 | 1081 |
| |
1095 | 1082 |
| |
1096 | 1083 |
| |
1097 | 1084 |
| |
1098 |
| - | |
1099 |
| - | |
1100 |
| - | |
1101 |
| - | |
1102 |
| - | |
1103 |
| - | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
1104 | 1095 |
| |
1105 | 1096 |
| |
1106 | 1097 |
| |
|
Lines changed: 1 addition & 32 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
1469 | 1469 |
| |
1470 | 1470 |
| |
1471 | 1471 |
| |
1472 |
| - | |
1473 |
| - | |
1474 |
| - | |
1475 |
| - | |
1476 |
| - | |
1477 |
| - | |
1478 |
| - | |
1479 |
| - | |
1480 |
| - | |
1481 |
| - | |
1482 |
| - | |
1483 |
| - | |
1484 |
| - | |
1485 |
| - | |
1486 |
| - | |
1487 |
| - | |
1488 |
| - | |
1489 |
| - | |
1490 |
| - | |
1491 |
| - | |
1492 |
| - | |
1493 |
| - | |
1494 |
| - | |
1495 |
| - | |
1496 |
| - | |
1497 |
| - | |
1498 |
| - | |
1499 |
| - | |
1500 |
| - | |
1501 |
| - | |
1502 |
| - | |
1503 | 1472 |
| |
1504 | 1473 |
| |
1505 | 1474 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
86 |
| - | |
87 | 86 |
| |
88 | 87 |
| |
89 | 88 |
| |
|
0 commit comments
Comments
(0)