forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfe591f8
committed
Replace enum InhOption with simple boolean.
Now that it has only INH_NO and INH_YES values, it's just weird thatit's not a plain bool, so make it that way.Also rename RangeVar.inhOpt to "inh", to be like RangeTblEntry.inh.My recollection is that we gave it a different name specifically becauseit had a different representation than the derived bool value, but itno longer does. And this is a good forcing function to be sure wecatch any places that are affected by the change.Bump catversion because of possible effect on stored RangeVar nodes.I'm not exactly convinced that we ever store RangeVar on disk, butwe have a readfuncs function for it, so be cautious. (If we do do so,then commite13486e was in error not to bump catversion.)Follow-on to commite13486e.Discussion:http://postgr.es/m/CA+TgmoYe+EG7LdYX6pkcNxr4ygkP4+A=jm9o-CPXyOvRiCNwaQ@mail.gmail.com1 parent158df30 commitfe591f8
File tree
12 files changed
+22
-31
lines changed- src
- backend
- commands
- nodes
- parser
- include
- catalog
- nodes
12 files changed
+22
-31
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
|
Lines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1184 | 1184 |
| |
1185 | 1185 |
| |
1186 | 1186 |
| |
1187 |
| - | |
| 1187 | + | |
1188 | 1188 |
| |
1189 | 1189 |
| |
1190 | 1190 |
| |
| |||
2655 | 2655 |
| |
2656 | 2656 |
| |
2657 | 2657 |
| |
2658 |
| - | |
| 2658 | + | |
2659 | 2659 |
| |
2660 | 2660 |
| |
2661 | 2661 |
| |
| |||
2807 | 2807 |
| |
2808 | 2808 |
| |
2809 | 2809 |
| |
2810 |
| - | |
| 2810 | + | |
| 2811 | + | |
2811 | 2812 |
| |
2812 | 2813 |
| |
2813 | 2814 |
| |
| |||
3049 | 3050 |
| |
3050 | 3051 |
| |
3051 | 3052 |
| |
3052 |
| - | |
3053 |
| - | |
3054 |
| - | |
| 3053 | + | |
3055 | 3054 |
| |
3056 | 3055 |
| |
3057 | 3056 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1112 | 1112 |
| |
1113 | 1113 |
| |
1114 | 1114 |
| |
1115 |
| - | |
| 1115 | + | |
1116 | 1116 |
| |
1117 | 1117 |
| |
1118 | 1118 |
| |
| |||
4192 | 4192 |
| |
4193 | 4193 |
| |
4194 | 4194 |
| |
4195 |
| - | |
4196 | 4195 |
| |
4197 | 4196 |
| |
4198 | 4197 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
111 |
| - | |
| 111 | + | |
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
423 | 423 |
| |
424 | 424 |
| |
425 | 425 |
| |
426 |
| - | |
| 426 | + | |
427 | 427 |
| |
428 | 428 |
| |
429 | 429 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
939 | 939 |
| |
940 | 940 |
| |
941 | 941 |
| |
942 |
| - | |
| 942 | + | |
943 | 943 |
| |
944 | 944 |
| |
945 | 945 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
449 | 449 |
| |
450 | 450 |
| |
451 | 451 |
| |
452 |
| - | |
| 452 | + | |
453 | 453 |
| |
454 | 454 |
| |
455 | 455 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
383 |
| - | |
| 383 | + | |
384 | 384 |
| |
385 | 385 |
| |
386 | 386 |
| |
| |||
2177 | 2177 |
| |
2178 | 2178 |
| |
2179 | 2179 |
| |
2180 |
| - | |
| 2180 | + | |
2181 | 2181 |
| |
2182 | 2182 |
| |
2183 | 2183 |
| |
|
Lines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11250 | 11250 |
| |
11251 | 11251 |
| |
11252 | 11252 |
| |
11253 |
| - | |
| 11253 | + | |
11254 | 11254 |
| |
11255 | 11255 |
| |
11256 | 11256 |
| |
11257 | 11257 |
| |
11258 |
| - | |
| 11258 | + | |
11259 | 11259 |
| |
11260 |
| - | |
| 11260 | + | |
11261 | 11261 |
| |
11262 | 11262 |
| |
11263 | 11263 |
| |
11264 | 11264 |
| |
11265 | 11265 |
| |
11266 | 11266 |
| |
11267 |
| - | |
| 11267 | + | |
11268 | 11268 |
| |
11269 | 11269 |
| |
11270 | 11270 |
| |
11271 | 11271 |
| |
11272 | 11272 |
| |
11273 | 11273 |
| |
11274 |
| - | |
| 11274 | + | |
11275 | 11275 |
| |
11276 | 11276 |
| |
11277 | 11277 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
412 | 412 |
| |
413 | 413 |
| |
414 | 414 |
| |
415 |
| - | |
416 |
| - | |
| 415 | + | |
417 | 416 |
| |
418 | 417 |
| |
419 | 418 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
| 56 | + | |
57 | 57 |
| |
58 | 58 |
|
Lines changed: 2 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 | 45 |
| |
52 | 46 |
| |
53 | 47 |
| |
| |||
61 | 55 |
| |
62 | 56 |
| |
63 | 57 |
| |
64 |
| - | |
| 58 | + | |
65 | 59 |
| |
66 | 60 |
| |
67 | 61 |
| |
| |||
71 | 65 |
| |
72 | 66 |
| |
73 | 67 |
| |
74 |
| - | |
| 68 | + | |
75 | 69 |
| |
76 | 70 |
| |
77 | 71 |
| |
|
0 commit comments
Comments
(0)