Commit fe591f8
committed
Replace enum InhOption with simple boolean.
Now that it has only INH_NO and INH_YES values, it's just weird that
it'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 because
it had a different representation than the derived bool value, but it
no longer does. And this is a good forcing function to be sure we
catch 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, but
we have a readfuncs function for it, so be cautious. (If we do do so,
then commit e13486e was in error not to bump catversion.)
Follow-on to commit e13486e.
Discussion: http://postgr.es/m/CA+TgmoYe+EG7LdYX6pkcNxr4ygkP4+A=jm9o-CPXyOvRiCNwaQ@mail.gmail.com1 parent 158df30 commit fe591f8
File tree
12 files changed
+22
-31
lines changed- src
- backend
- commands
- nodes
- parser
- include
- catalog
- nodes
12 files changed
+22
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| 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 | | |
| |||
| 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
| 942 | + | |
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
| 452 | + | |
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| |||
| 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 | | |
| |||
| 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 | | |
| |||
| 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 | | |
| |||
0 commit comments