- Notifications
You must be signed in to change notification settings - Fork28
Commitc537d42
committed
Modify fmgr so that internal name (compiler name) of a built-in
function is found in prosrc field of pg_proc, not proname. This allowsmultiple aliases of a built-in to all be implemented as direct builtins,without needing a level of indirection through an SQL function. Replaceexisting SQL alias functions with builtin entries accordingly.Save a few K by not storing string names of builtin functions in fmgr'sinternal table (if you really want 'em, get 'em from pg_proc...).Update opr_sanity with a few more cross-checks.1 parentfdf6be8 commitc537d42
File tree
6 files changed
+1223
-1026
lines changed- src
- backend/utils
- fmgr
- include
- catalog
- utils
- test/regress
- expected
- sql
6 files changed
+1223
-1026
lines changedLines changed: 21 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
83 | 83 |
| |
84 | 84 |
| |
85 | 85 |
| |
86 |
| - | |
| 86 | + | |
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| |||
172 | 172 |
| |
173 | 173 |
| |
174 | 174 |
| |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
175 | 181 |
| |
176 |
| - | |
177 |
| - | |
178 |
| - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
179 | 188 |
| |
180 | 189 |
| |
181 | 190 |
| |
| |||
197 | 206 |
| |
198 | 207 |
| |
199 | 208 |
| |
200 |
| - | |
| 209 | + | |
201 | 210 |
| |
202 | 211 |
| |
203 | 212 |
| |
| |||
235 | 244 |
| |
236 | 245 |
| |
237 | 246 |
| |
238 |
| - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
239 | 250 |
| |
240 | 251 |
| |
241 | 252 |
| |
242 | 253 |
| |
243 |
| - | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
244 | 257 |
| |
245 | 258 |
| |
246 | 259 |
| |
| |||
276 | 289 |
| |
277 | 290 |
| |
278 | 291 |
| |
279 |
| - | |
280 |
| - | |
281 |
| - | |
282 |
| - | |
283 |
| - | |
284 |
| - | |
285 |
| - | |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 | 292 |
| |
290 | 293 |
| |
291 | 294 |
| |
|
Lines changed: 16 additions & 14 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 |
| |
| |||
169 | 169 |
| |
170 | 170 |
| |
171 | 171 |
| |
172 |
| - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
173 | 179 |
| |
174 | 180 |
| |
175 |
| - | |
| 181 | + | |
176 | 182 |
| |
177 | 183 |
| |
178 | 184 |
| |
179 |
| - | |
| 185 | + | |
180 | 186 |
| |
181 | 187 |
| |
182 | 188 |
| |
| |||
190 | 196 |
| |
191 | 197 |
| |
192 | 198 |
| |
193 |
| - | |
194 |
| - | |
195 |
| - | |
196 |
| - | |
197 |
| - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
198 | 205 |
| |
199 | 206 |
| |
200 | 207 |
| |
| |||
239 | 246 |
| |
240 | 247 |
| |
241 | 248 |
| |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 | 249 |
| |
248 | 250 |
| |
249 | 251 |
| |
|
0 commit comments
Comments
(0)