From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: pg_dump: Rename some typedefs to avoid name conflicts |
Date: | 2017-04-06 18:21:05 |
Message-ID: | E1cwC1p-00071M-Ih@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)anarazel(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2017-04-06 18:31:37 | pgsql: Mark immutable functions in information schema as parallel safe |
Previous Message | Tom Lane | 2017-04-06 17:22:01 | pgsql: Clean up psql/describe.c's messy query for extended stats. |