forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbe5942a
committed
Remove unused typedefs
There were a few typedefs that were never used to define a variable orfield. This had the effect that the buildfarm's typedefs.list wouldnot include them, and so they would need to be re-added manually tokeep the overall pgindent result perfectly clean.We can easily get rid of these typedefs to avoid the issue. In a fewcases, we just let the enum or struct stand on its own without atypedef around it. In one case, an enum was abused to define flagbits; that's better done with macro definitions.This fixes all the remaining issues with missing entries in thebuildfarm's typedefs.list.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://www.postgresql.org/message-id/1919000.1715815925@sss.pgh.pa.us1 parent110eb4a commitbe5942a
File tree
5 files changed
+12
-20
lines changed- src
- backend
- commands
- utils/resowner
- include
- access
- storage
- tools/pgindent
5 files changed
+12
-20
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
396 | 396 |
| |
397 | 397 |
| |
398 | 398 |
| |
399 |
| - | |
| 399 | + | |
400 | 400 |
| |
401 | 401 |
| |
402 |
| - | |
| 402 | + | |
403 | 403 |
| |
404 | 404 |
| |
405 | 405 |
| |
| |||
2299 | 2299 |
| |
2300 | 2300 |
| |
2301 | 2301 |
| |
2302 |
| - | |
| 2302 | + | |
2303 | 2303 |
| |
2304 | 2304 |
| |
2305 | 2305 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
110 |
| - | |
| 110 | + | |
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
| |||
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
158 |
| - | |
| 158 | + | |
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
| |||
415 | 415 |
| |
416 | 416 |
| |
417 | 417 |
| |
418 |
| - | |
| 418 | + | |
419 | 419 |
| |
420 | 420 |
| |
421 | 421 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
|
Lines changed: 4 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
116 |
| - | |
117 |
| - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
118 | 114 |
| |
119 | 115 |
| |
120 | 116 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1692 | 1692 |
| |
1693 | 1693 |
| |
1694 | 1694 |
| |
1695 |
| - | |
1696 | 1695 |
| |
1697 | 1696 |
| |
1698 | 1697 |
| |
| |||
2326 | 2325 |
| |
2327 | 2326 |
| |
2328 | 2327 |
| |
2329 |
| - | |
2330 | 2328 |
| |
2331 | 2329 |
| |
2332 | 2330 |
| |
| |||
2443 | 2441 |
| |
2444 | 2442 |
| |
2445 | 2443 |
| |
2446 |
| - | |
2447 | 2444 |
| |
2448 | 2445 |
| |
2449 | 2446 |
| |
| |||
3127 | 3124 |
| |
3128 | 3125 |
| |
3129 | 3126 |
| |
3130 |
| - | |
3131 | 3127 |
| |
3132 | 3128 |
| |
3133 | 3129 |
| |
|
0 commit comments
Comments
(0)