]> granicus.if.org Git - postgresql/commit
pg_dump: Rename some typedefs to avoid name conflicts
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 30 Aug 2016 16:00:00 +0000 (12:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 6 Apr 2017 18:16:54 +0000 (14:16 -0400)
commit4be613f692b8f474d5766627a636e7f838131587
treebe6a7cbef2ede5f80cb83d7023a8037883b802ed
parent20c95f27e736837b4af6bef998cb9408d1ad902e
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>
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_archiver.h