[COMMITTERS] pgsql: pg_dump: Rename some typedefs to avoid name conflicts
[COMMITTERS] pgsql: 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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4be613f692b8f474d5766627a636e7f838131587 Modified Files -------------- src/bin/pg_dump/pg_backup.h | 4 +- src/bin/pg_dump/pg_backup_archiver.c | 10 ++-- src/bin/pg_dump/pg_backup_archiver.h | 96 ++++++++++++++++++------------------ 3 files changed, 55 insertions(+), 55 deletions(-)