pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Make pg_dump behave more sanely when built without HAVE_LIBZ.
4+ messages / 1 participants
[nested] [flat]

* pgsql: Make pg_dump behave more sanely when built without HAVE_LIBZ.
@ 2016-05-26 15:51  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2016-05-26 15:51 UTC (permalink / raw)
  To: pgsql-committers

Make pg_dump behave more sanely when built without HAVE_LIBZ.

For some reason the code to emit a warning and switch to uncompressed
output was placed down in the guts of pg_backup_archiver.c.  This is
definitely too late in the case of parallel operation (and I rather
wonder if it wasn't too late for other purposes as well).  Put it in
pg_dump.c's option-processing logic, which seems a much saner place.

Also, the default behavior with custom or directory output format was
to emit the warning telling you the output would be uncompressed.  This
seems unhelpful, so silence that case.

Back-patch to 9.3 where parallel dump was introduced.

Kyotaro Horiguchi, adjusted a bit by me

Report: <20160526.185551.242041780.horiguchi.kyotaro@lab.ntt.co.jp>

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/99565a1ef88447bd8844321159f3d848721f04c4

Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 10 ----------
src/bin/pg_dump/pg_dump.c            |  9 +++++++++
2 files changed, 9 insertions(+), 10 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Make pg_dump behave more sanely when built without HAVE_LIBZ.
@ 2016-05-26 15:51  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2016-05-26 15:51 UTC (permalink / raw)
  To: pgsql-committers

Make pg_dump behave more sanely when built without HAVE_LIBZ.

For some reason the code to emit a warning and switch to uncompressed
output was placed down in the guts of pg_backup_archiver.c.  This is
definitely too late in the case of parallel operation (and I rather
wonder if it wasn't too late for other purposes as well).  Put it in
pg_dump.c's option-processing logic, which seems a much saner place.

Also, the default behavior with custom or directory output format was
to emit the warning telling you the output would be uncompressed.  This
seems unhelpful, so silence that case.

Back-patch to 9.3 where parallel dump was introduced.

Kyotaro Horiguchi, adjusted a bit by me

Report: <20160526.185551.242041780.horiguchi.kyotaro@lab.ntt.co.jp>

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/64b296976befff7ec0debdc82db96b7dd3c7f45a

Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 10 ----------
src/bin/pg_dump/pg_dump.c            |  9 +++++++++
2 files changed, 9 insertions(+), 10 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Make pg_dump behave more sanely when built without HAVE_LIBZ.
@ 2016-05-26 15:51  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2016-05-26 15:51 UTC (permalink / raw)
  To: pgsql-committers

Make pg_dump behave more sanely when built without HAVE_LIBZ.

For some reason the code to emit a warning and switch to uncompressed
output was placed down in the guts of pg_backup_archiver.c.  This is
definitely too late in the case of parallel operation (and I rather
wonder if it wasn't too late for other purposes as well).  Put it in
pg_dump.c's option-processing logic, which seems a much saner place.

Also, the default behavior with custom or directory output format was
to emit the warning telling you the output would be uncompressed.  This
seems unhelpful, so silence that case.

Back-patch to 9.3 where parallel dump was introduced.

Kyotaro Horiguchi, adjusted a bit by me

Report: <20160526.185551.242041780.horiguchi.kyotaro@lab.ntt.co.jp>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cae2bb1986bc8fd409424562638434d588d0201f

Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 10 ----------
src/bin/pg_dump/pg_dump.c            |  9 +++++++++
2 files changed, 9 insertions(+), 10 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Make pg_dump behave more sanely when built without HAVE_LIBZ.
@ 2016-05-26 15:51  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2016-05-26 15:51 UTC (permalink / raw)
  To: pgsql-committers

Make pg_dump behave more sanely when built without HAVE_LIBZ.

For some reason the code to emit a warning and switch to uncompressed
output was placed down in the guts of pg_backup_archiver.c.  This is
definitely too late in the case of parallel operation (and I rather
wonder if it wasn't too late for other purposes as well).  Put it in
pg_dump.c's option-processing logic, which seems a much saner place.

Also, the default behavior with custom or directory output format was
to emit the warning telling you the output would be uncompressed.  This
seems unhelpful, so silence that case.

Back-patch to 9.3 where parallel dump was introduced.

Kyotaro Horiguchi, adjusted a bit by me

Report: <20160526.185551.242041780.horiguchi.kyotaro@lab.ntt.co.jp>

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f2f18a37c335384240c4f6b5ebbed4678ae8949c

Modified Files
--------------
src/bin/pg_dump/pg_backup_archiver.c | 10 ----------
src/bin/pg_dump/pg_dump.c            |  9 +++++++++
2 files changed, 9 insertions(+), 10 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2016-05-26 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-05-26 15:51 pgsql: Make pg_dump behave more sanely when built without HAVE_LIBZ. Tom Lane <tgl@sss.pgh.pa.us>
2016-05-26 15:51 pgsql: Make pg_dump behave more sanely when built without HAVE_LIBZ. Tom Lane <tgl@sss.pgh.pa.us>
2016-05-26 15:51 pgsql: Make pg_dump behave more sanely when built without HAVE_LIBZ. Tom Lane <tgl@sss.pgh.pa.us>
2016-05-26 15:51 pgsql: Make pg_dump behave more sanely when built without HAVE_LIBZ. Tom Lane <tgl@sss.pgh.pa.us>

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