forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5b5ee14
committed
Add a defense to prevent storing pseudo-type data into index columns.
Formerly, the lack of any opclasses that could accept such data was enoughof a defense, but now with a "record" opclass we need to check more carefully.(You can still use that opclass for an index, but you have to store a namedcomposite type not an anonymous one.)1 parent2f0d528 commit5b5ee14
1 file changed
+12
-1
lines changedLines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
236 | 236 |
| |
237 | 237 |
| |
238 | 238 |
| |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
239 | 250 |
| |
240 | 251 |
| |
241 | 252 |
| |
|
0 commit comments
Comments
(0)