git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 20c95f2) | patch
pg_dump: Rename some typedefs to avoid name conflicts
2016年8月30日 16:00:00 +0000 (12:00 -0400)
Thu, 6 Apr 2017 18:16:54 +0000 (14:16 -0400)
commit 4be613f692b8f474d5766627a636e7f838131587
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 diff | blob | blame | history
src/bin/pg_dump/pg_backup_archiver.c diff | blob | blame | history
src/bin/pg_dump/pg_backup_archiver.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /