From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_dump: store unused attribs as NULL instead of '\0'
Date: Fri, 26 Apr 2019 16:36:33 +0000
Message-ID: <E1hK3px-0007zc-1O@gemulon.postgresql.org> (raw)
pg_dump: store unused attribs as NULL instead of '\0'
Commit f831d4accda0 changed pg_dump to emit (and pg_restore to
understand) NULLs for unused members in ArchiveEntry structs, as a side
effect of some code beautification. That broke pg_restore of dumps
generated with older pg_dump, however, so it was reverted in
19455c9f5606. Since the archiver version number has been bumped in
3b925e905de3, we can put it back.
Author: Dmitry Dolgov
Discussion: https://postgr.es/m/CA+q6zcXx0XHqLsFJLaUU2j5BDiBAHig=YRoBC_YVq7VJGvzBEA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7fcdb5e002145ec95b2bebb4c125751be66c4d1a
Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 11 +++----
src/bin/pg_dump/pg_backup_archiver.h | 7 +----
src/bin/pg_dump/pg_dump.c | 56 ++++++------------------------------
3 files changed, 16 insertions(+), 58 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: alvherre@alvh.no-ip.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: pg_dump: store unused attribs as NULL instead of '\0'
In-Reply-To: <E1hK3px-0007zc-1O@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox