- Notifications
You must be signed in to change notification settings - Fork5k
Commitd7b5c07
committed
Don't bother to attach column name lists to RowExprs of named types.
If a RowExpr is marked as returning a named composite type, we aren'tgoing to consult its colnames list; we'll use the attribute namesshown for the type in pg_attribute. Hence, skip storing that list,to save a few nanoseconds when copying the expression tree around.Discussion:https://postgr.es/m/2950001.1638729947@sss.pgh.pa.us1 parentec62cb0 commitd7b5c07
File tree
4 files changed
+14
-15
lines changed- src
- backend
- optimizer
- prep
- util
- rewrite
- include/nodes
4 files changed
+14
-15
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2279 | 2279 |
| |
2280 | 2280 |
| |
2281 | 2281 |
| |
2282 |
| - | |
2283 |
| - | |
| 2282 | + | |
| 2283 | + | |
2284 | 2284 |
| |
2285 | 2285 |
| |
2286 | 2286 |
| |
| |||
2301 | 2301 |
| |
2302 | 2302 |
| |
2303 | 2303 |
| |
2304 |
| - | |
| 2304 | + | |
2305 | 2305 |
| |
2306 | 2306 |
| |
2307 | 2307 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
809 | 809 |
| |
810 | 810 |
| |
811 | 811 |
| |
| 812 | + | |
812 | 813 |
| |
813 | 814 |
| |
814 | 815 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1424 | 1424 |
| |
1425 | 1425 |
| |
1426 | 1426 |
| |
1427 |
| - | |
1428 |
| - | |
| 1427 | + | |
| 1428 | + | |
1429 | 1429 |
| |
1430 | 1430 |
| |
1431 | 1431 |
| |
| |||
1438 | 1438 |
| |
1439 | 1439 |
| |
1440 | 1440 |
| |
1441 |
| - | |
| 1441 | + | |
1442 | 1442 |
| |
1443 | 1443 |
| |
1444 | 1444 |
| |
|
Lines changed: 7 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1052 | 1052 |
| |
1053 | 1053 |
| |
1054 | 1054 |
| |
1055 |
| - | |
1056 |
| - | |
1057 |
| - | |
1058 |
| - | |
1059 |
| - | |
1060 |
| - | |
1061 |
| - | |
1062 |
| - | |
1063 |
| - | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
1064 | 1062 |
| |
1065 | 1063 |
| |
1066 | 1064 |
| |
|
0 commit comments
Comments
(0)