[COMMITTERS] pgsql: pg_dump: Rename some typedefs to avoid name conflicts

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема [COMMITTERS] pgsql: pg_dump: Rename some typedefs to avoid name conflicts
Дата
Msg-id E1cwC1p-00071M-Ih@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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>

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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Clean up psql/describe.c's messy query for extended stats.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: [COMMITTERS] pgsql: Mark immutable functions in information schema as parallel safe