pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Restore use of zlib default compression in pg_dump directory mod
8+ messages / 2 participants
[nested] [flat]
* pgsql: Restore use of zlib default compression in pg_dump directory mod
@ 2015-07-25 21:17 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Dunstan @ 2015-07-25 21:17 UTC (permalink / raw)
To: pgsql-committers
Restore use of zlib default compression in pg_dump directory mode.
This was broken by commit 0e7e355f27302b62af3e1add93853ccd45678443 and
friends, which ignored the fact that gzopen() will treat "-1" in the
mode argument as an invalid character, which it ignores, and a flag for
compression level 1. Now, when this value is encountered no compression
level flag is passed to gzopen, leaving it to use the zlib default.
Also, enforce the documented allowed range for pg_dump's -Z option,
namely 0 .. 9, and remove some consequently dead code from
pg_backup_tar.c.
Problem reported by Marc Mamin.
Backpatch to 9.1, like the patch that introduced the bug.
Branch
------
REL9_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/84bf6ece1fffaf6d56e7de52c8dbc2d33d433618
Modified Files
--------------
src/bin/pg_dump/compress_io.c | 18 ++++++++++++++----
src/bin/pg_dump/pg_backup_tar.c | 7 -------
src/bin/pg_dump/pg_dump.c | 5 +++++
3 files changed, 19 insertions(+), 11 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] 8+ messages in thread
* pgsql: Restore use of zlib default compression in pg_dump directory mod
@ 2015-07-25 21:17 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Dunstan @ 2015-07-25 21:17 UTC (permalink / raw)
To: pgsql-committers
Restore use of zlib default compression in pg_dump directory mode.
This was broken by commit 0e7e355f27302b62af3e1add93853ccd45678443 and
friends, which ignored the fact that gzopen() will treat "-1" in the
mode argument as an invalid character, which it ignores, and a flag for
compression level 1. Now, when this value is encountered no compression
level flag is passed to gzopen, leaving it to use the zlib default.
Also, enforce the documented allowed range for pg_dump's -Z option,
namely 0 .. 9, and remove some consequently dead code from
pg_backup_tar.c.
Problem reported by Marc Mamin.
Backpatch to 9.1, like the patch that introduced the bug.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/caef94d59fcfa1087be36d4a8b5ed4523872bf55
Modified Files
--------------
src/bin/pg_dump/compress_io.c | 18 ++++++++++++++----
src/bin/pg_dump/pg_backup_tar.c | 7 -------
src/bin/pg_dump/pg_dump.c | 5 +++++
3 files changed, 19 insertions(+), 11 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] 8+ messages in thread
* pgsql: Restore use of zlib default compression in pg_dump directory mod
@ 2015-07-25 21:17 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Dunstan @ 2015-07-25 21:17 UTC (permalink / raw)
To: pgsql-committers
Restore use of zlib default compression in pg_dump directory mode.
This was broken by commit 0e7e355f27302b62af3e1add93853ccd45678443 and
friends, which ignored the fact that gzopen() will treat "-1" in the
mode argument as an invalid character, which it ignores, and a flag for
compression level 1. Now, when this value is encountered no compression
level flag is passed to gzopen, leaving it to use the zlib default.
Also, enforce the documented allowed range for pg_dump's -Z option,
namely 0 .. 9, and remove some consequently dead code from
pg_backup_tar.c.
Problem reported by Marc Mamin.
Backpatch to 9.1, like the patch that introduced the bug.
Branch
------
REL9_5_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/08012455cd31a4148c5072a6aac1ad41a89e6d4b
Modified Files
--------------
src/bin/pg_dump/compress_io.c | 18 ++++++++++++++----
src/bin/pg_dump/pg_backup_tar.c | 7 -------
src/bin/pg_dump/pg_dump.c | 5 +++++
3 files changed, 19 insertions(+), 11 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] 8+ messages in thread
* pgsql: Restore use of zlib default compression in pg_dump directory mod
@ 2015-07-25 21:17 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 1 reply; 8+ messages in thread
From: Andrew Dunstan @ 2015-07-25 21:17 UTC (permalink / raw)
To: pgsql-committers
Restore use of zlib default compression in pg_dump directory mode.
This was broken by commit 0e7e355f27302b62af3e1add93853ccd45678443 and
friends, which ignored the fact that gzopen() will treat "-1" in the
mode argument as an invalid character, which it ignores, and a flag for
compression level 1. Now, when this value is encountered no compression
level flag is passed to gzopen, leaving it to use the zlib default.
Also, enforce the documented allowed range for pg_dump's -Z option,
namely 0 .. 9, and remove some consequently dead code from
pg_backup_tar.c.
Problem reported by Marc Mamin.
Backpatch to 9.1, like the patch that introduced the bug.
Branch
------
REL9_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/af225551ef8435eb911e0b063358c42fcdecb853
Modified Files
--------------
src/bin/pg_dump/compress_io.c | 18 ++++++++++++++----
src/bin/pg_dump/pg_backup_tar.c | 7 -------
src/bin/pg_dump/pg_dump.c | 5 +++++
3 files changed, 19 insertions(+), 11 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] 8+ messages in thread
* pgsql: Restore use of zlib default compression in pg_dump directory mod
@ 2015-07-25 21:17 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Dunstan @ 2015-07-25 21:17 UTC (permalink / raw)
To: pgsql-committers
Restore use of zlib default compression in pg_dump directory mode.
This was broken by commit 0e7e355f27302b62af3e1add93853ccd45678443 and
friends, which ignored the fact that gzopen() will treat "-1" in the
mode argument as an invalid character, which it ignores, and a flag for
compression level 1. Now, when this value is encountered no compression
level flag is passed to gzopen, leaving it to use the zlib default.
Also, enforce the documented allowed range for pg_dump's -Z option,
namely 0 .. 9, and remove some consequently dead code from
pg_backup_tar.c.
Problem reported by Marc Mamin.
Backpatch to 9.1, like the patch that introduced the bug.
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/aa1266d5f8662a8a768bb83f12bbf5386d0cbd55
Modified Files
--------------
src/bin/pg_dump/compress_io.c | 18 ++++++++++++++----
src/bin/pg_dump/pg_backup_tar.c | 7 -------
src/bin/pg_dump/pg_dump.c | 5 +++++
3 files changed, 19 insertions(+), 11 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] 8+ messages in thread
* pgsql: Restore use of zlib default compression in pg_dump directory mod
@ 2015-07-25 21:17 Andrew Dunstan <andrew@dunslane.net>
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Dunstan @ 2015-07-25 21:17 UTC (permalink / raw)
To: pgsql-committers
Restore use of zlib default compression in pg_dump directory mode.
This was broken by commit 0e7e355f27302b62af3e1add93853ccd45678443 and
friends, which ignored the fact that gzopen() will treat "-1" in the
mode argument as an invalid character, which it ignores, and a flag for
compression level 1. Now, when this value is encountered no compression
level flag is passed to gzopen, leaving it to use the zlib default.
Also, enforce the documented allowed range for pg_dump's -Z option,
namely 0 .. 9, and remove some consequently dead code from
pg_backup_tar.c.
Problem reported by Marc Mamin.
Backpatch to 9.1, like the patch that introduced the bug.
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/41ed5bb9aeddddbe8f8afb901567fd5f306d2a45
Modified Files
--------------
src/bin/pg_dump/compress_io.c | 18 ++++++++++++++----
src/bin/pg_dump/pg_backup_tar.c | 7 -------
src/bin/pg_dump/pg_dump.c | 5 +++++
3 files changed, 19 insertions(+), 11 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] 8+ messages in thread
* Re: pgsql: Restore use of zlib default compression in pg_dump directory mod
@ 2015-07-25 21:57 Tom Lane <tgl@sss.pgh.pa.us>
parent: Andrew Dunstan <andrew@dunslane.net>
0 siblings, 1 reply; 8+ messages in thread
From: Tom Lane @ 2015-07-25 21:57 UTC (permalink / raw)
To: Andrew Dunstan <andrew@dunslane.net>; +Cc: pgsql-committers
Andrew Dunstan <andrew@dunslane.net> writes:
> Restore use of zlib default compression in pg_dump directory mode.
Buildfarm's not too happy with the 9.1 version of this.
regards, tom lane
--
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] 8+ messages in thread
* Re: pgsql: Restore use of zlib default compression in pg_dump directory mod
@ 2015-07-25 22:27 Andrew Dunstan <andrew@dunslane.net>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 8+ messages in thread
From: Andrew Dunstan @ 2015-07-25 22:27 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers
On 07/25/2015 05:57 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> Restore use of zlib default compression in pg_dump directory mode.
> Buildfarm's not too happy with the 9.1 version of this.
>
>
Oops. Will fix.
cheers
andrew
--
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] 8+ messages in thread
end of thread, other threads:[~2015-07-25 22:27 UTC | newest]
Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-25 21:17 pgsql: Restore use of zlib default compression in pg_dump directory mod Andrew Dunstan <andrew@dunslane.net>
2015-07-25 21:17 pgsql: Restore use of zlib default compression in pg_dump directory mod Andrew Dunstan <andrew@dunslane.net>
2015-07-25 21:17 pgsql: Restore use of zlib default compression in pg_dump directory mod Andrew Dunstan <andrew@dunslane.net>
2015-07-25 21:17 pgsql: Restore use of zlib default compression in pg_dump directory mod Andrew Dunstan <andrew@dunslane.net>
2015-07-25 21:17 pgsql: Restore use of zlib default compression in pg_dump directory mod Andrew Dunstan <andrew@dunslane.net>
2015-07-25 21:17 pgsql: Restore use of zlib default compression in pg_dump directory mod Andrew Dunstan <andrew@dunslane.net>
2015-07-25 21:57 ` Tom Lane <tgl@sss.pgh.pa.us>
2015-07-25 22:27 ` Andrew Dunstan <andrew@dunslane.net>
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