- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit4be6a74
committed
pg_dump: Tiny header cleanup
In commits9c02e3a and8ec0aae, Nathan added a duplicateTocEntry typedef forward declaration (plus assorted #ifdef hackery toavoid C99 preprocessor issues) to deal with some very old untidynessregarding DefnDumperPtr function prototype being located in pg_backup.h.But there's no reason to have the DefnDumperPtr typedef (and theaccompanying DataDumperPtr typedef) in that file at all; they are betterplaced in pg_backup_archiver.h, the internal header, because they areonly used internally. That also requires zero #ifdef hackery, so movethem there.Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/202504042140.qo66ggw6wzsz@alvherre.pgsql1 parentf0d0083 commit4be6a74
2 files changed
+4
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | 287 | | |
298 | 288 | | |
299 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | 100 | | |
102 | | - | |
103 | | - | |
104 | 101 | | |
105 | 102 | | |
106 | 103 | | |
| |||
344 | 341 | | |
345 | 342 | | |
346 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
| |||
0 commit comments
Comments
(0)