forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3c49c4b
committed
Mark the float8 -> int8 cast as implicit. This resolves the problem
pointed out by Barry Lind: UPDATE bigintcol = 10000000000 fails becausethe constant is initially taken as float8. We really need a better way,but it's not gonna happen for 7.3.Also, remove int4reltime() function, which is redundant with theexisting binary-compatibility coercion path from int4 to reltime,and probably has been unreachable code for a long while.1 parent845a6c3 commit3c49c4b
File tree
4 files changed
+22
-24
lines changed- src
- backend/utils/adt
- include
- catalog
- utils
4 files changed
+22
-24
lines changedLines changed: 1 addition & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
1735 | 1735 |
| |
1736 | 1736 |
| |
1737 | 1737 |
| |
1738 |
| - | |
1739 |
| - | |
1740 |
| - | |
1741 |
| - | |
1742 |
| - | |
1743 |
| - | |
1744 |
| - | |
1745 |
| - | |
1746 |
| - | |
1747 | 1738 |
| |
1748 | 1739 |
| |
1749 | 1740 |
| |
|
Lines changed: 19 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 |
| |
5 | 8 |
| |
6 | 9 |
| |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
7 | 16 |
| |
8 | 17 |
| |
9 | 18 |
| |
10 | 19 |
| |
11 | 20 |
| |
12 | 21 |
| |
13 | 22 |
| |
14 |
| - | |
15 |
| - | |
| 23 | + | |
| 24 | + | |
16 | 25 |
| |
17 |
| - | |
| 26 | + | |
18 | 27 |
| |
19 | 28 |
| |
20 | 29 |
| |
| |||
115 | 124 |
| |
116 | 125 |
| |
117 | 126 |
| |
118 |
| - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
119 | 131 |
| |
120 | 132 |
| |
121 | 133 |
| |
| |||
139 | 151 |
| |
140 | 152 |
| |
141 | 153 |
| |
142 |
| - | |
143 | 154 |
| |
144 | 155 |
| |
145 | 156 |
| |
| |||
159 | 170 |
| |
160 | 171 |
| |
161 | 172 |
| |
162 |
| - | |
| 173 | + | |
163 | 174 |
| |
164 | 175 |
| |
165 | 176 |
| |
| |||
176 | 187 |
| |
177 | 188 |
| |
178 | 189 |
| |
179 |
| - | |
| 190 | + | |
180 | 191 |
| |
181 | 192 |
| |
182 | 193 |
| |
|
Lines changed: 1 addition & 4 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 |
| |
| |||
1479 | 1479 |
| |
1480 | 1480 |
| |
1481 | 1481 |
| |
1482 |
| - | |
1483 |
| - | |
1484 |
| - | |
1485 | 1482 |
| |
1486 | 1483 |
| |
1487 | 1484 |
| |
|
Lines changed: 1 addition & 2 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 |
| |
| |||
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
155 |
| - | |
156 | 155 |
| |
157 | 156 |
| |
158 | 157 |
| |
|
0 commit comments
Comments
(0)