forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8c95168
committed
Teach datum_image_eq() about cstring datums.
Bring datum_image_eq() in line with datumIsEqual() by adding support forcomparing cstring datums.An upcoming patch that adds deduplication to the nbtree AM will usedatum_image_eq(). datum_image_eq() will need to work with all datatypesthat can be used as the storage type of a B-Tree index column, includingcstring. (cstring is used as the storage type for columns of type"name" as a space-saving optimization.)Discussion:https://postgr.es/m/CAH2-Wzn3Ee49Gmxb7V1VJ3-AC8fWn-Fr8pfWQebHe8rYRxt5OQ@mail.gmail.com1 parent7a0574b commit8c95168
1 file changed
+16
-3
lines changedLines changed: 16 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
| 266 | + | |
| 267 | + | |
266 | 268 |
| |
267 | 269 |
| |
268 | 270 |
| |
| |||
277 | 279 |
| |
278 | 280 |
| |
279 | 281 |
| |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 | 282 |
| |
284 | 283 |
| |
285 | 284 |
| |
| |||
304 | 303 |
| |
305 | 304 |
| |
306 | 305 |
| |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
307 | 320 |
| |
308 | 321 |
| |
309 | 322 |
| |
|
0 commit comments
Comments
(0)