forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb60c397
committed
Move inheritance expansion code into its own file
This commit moves expand_inherited_tables and underlings fromoptimizer/prep/prepunionc.c to optimizer/utils/inherit.c.Also, all of the AppendRelInfo-based expression manipulation routinesare moved to optimizer/utils/appendinfo.c.No functional code changes. One exception is the introduction ofmake_append_rel_info, but that's still just moving around code.Also, stop including <limits.h> in prepunion.c, which no longer needsit since3fc6e2d. I (Álvaro) noticed this because Amit was copyingthat to inherit.c, which likewise doesn't need it.Author: Amit LangoteDiscussion:https://postgr.es/m/3be67028-a00a-502c-199a-da00eec8fb6e@lab.ntt.co.jp1 parentdacadcd commitb60c397
File tree
15 files changed
+1343
-1227
lines changed- src
- backend
- optimizer
- path
- plan
- prep
- util
- partitioning
- include/optimizer
15 files changed
+1343
-1227
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| 33 | + | |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| 37 | + | |
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
39 | 41 |
| |
40 |
| - | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
29 |
| - | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
22 |
| - | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| 23 | + | |
23 | 24 |
| |
| 25 | + | |
24 | 26 |
| |
25 | 27 |
| |
26 | 28 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
40 | 41 |
| |
41 | 42 |
| |
| 43 | + | |
42 | 44 |
| |
43 | 45 |
| |
44 | 46 |
| |
|
0 commit comments
Comments
(0)