- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit9c0de04
committed
Reduce xlog.h inclusion footprint
This file needs xlogreader.h only for the XLogReaderState typedef; butwe can dodge that by forward-declaring it. Many files use xlog.h forreasons other than reading WAL, and it's not good to force all thosefiles to include xlogreader.h, so take it out.Surprisingly, there is no fallout in core code from making this change.Perhaps external code will have to start including xlogreader.h.1 parentc929b27 commit9c0de04
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 | 16 |
| |
18 | 17 |
| |
19 | 18 |
| |
| |||
192 | 191 |
| |
193 | 192 |
| |
194 | 193 |
| |
| 194 | + | |
195 | 195 |
| |
196 | 196 |
| |
197 | 197 |
| |
| |||
209 | 209 |
| |
210 | 210 |
| |
211 | 211 |
| |
212 |
| - | |
213 |
| - | |
| 212 | + | |
| 213 | + | |
214 | 214 |
| |
215 | 215 |
| |
216 | 216 |
| |
|
0 commit comments
Comments
(0)