forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit005c6b8
committed
Change collation cache to use simplehash.h.
Speeds up text comparison expressions when using a collation otherthan the database default collation. Does not affect larger operationssuch as ORDER BY, because the lookup is only done once.Discussion:https://postgr.es/m/7bb9f018d20a7b30b9a7f6231efab1b5e50c7720.camel@j-davis.comReviewed-by: John Naylor, Andreas Karlsson1 parentcdd6ab9 commit005c6b8
1 file changed
+27
-12
lines changedLines changed: 27 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| 59 | + | |
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
64 |
| - | |
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
| |||
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 |
| - | |
133 | 132 |
| |
134 |
| - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
135 | 137 |
| |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
136 | 153 |
| |
137 | 154 |
| |
138 | 155 |
| |
| |||
1235 | 1252 |
| |
1236 | 1253 |
| |
1237 | 1254 |
| |
1238 |
| - | |
| 1255 | + | |
1239 | 1256 |
| |
1240 |
| - | |
1241 |
| - | |
1242 |
| - | |
1243 |
| - | |
1244 |
| - | |
1245 |
| - | |
1246 |
| - | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
1247 | 1262 |
| |
1248 | 1263 |
| |
1249 |
| - | |
| 1264 | + | |
1250 | 1265 |
| |
1251 | 1266 |
| |
1252 | 1267 |
| |
|
0 commit comments
Comments
(0)