pg_dump: Rename some typedefs to avoid name conflicts
Peter Eisentraut <peter_e@gmx.net>
pg_dump: Rename some typedefs to avoid name conflicts In struct _archiveHandle, some of the fields have the same name as a typedef. This is kind of confusing, so rename the types so they have names distinct from the struct fields. In C++, the previous coding changes the meaning of the typedef in the scope of the struct, causing warnings and possibly other problems. Reviewed-by: Andres Freund <andres@anarazel.de>
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_backup_archiver.c | modified | +5 −5 |
| src/bin/pg_dump/pg_backup_archiver.h | modified | +48 −48 |
| src/bin/pg_dump/pg_backup.h | modified | +2 −2 |