pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix incorrect value for "strategy" with deflateParams() in walme
7+ messages / 1 participants
[nested] [flat]

* pgsql: Fix incorrect value for "strategy" with deflateParams() in walme
@ 2022-09-14 05:52 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 7+ messages in thread

From: Michael Paquier @ 2022-09-14 05:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix incorrect value for "strategy" with deflateParams() in walmethods.c

The zlib documentation mentions the values supported for the compression
strategy, but this code has been using a hardcoded value of 0 rather
than Z_DEFAULT_STRATEGY.  This commit adjusts the code to use
Z_DEFAULT_STRATEGY.

Backpatch down to where this code has been added to ease the backport of
any future patch touching this area.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/1400032.1662217889@sss.pgh.pa.us
Backpatch-through: 10

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b447d6075db8041b870ac526525f6873df222db4

Modified Files
--------------
src/bin/pg_basebackup/walmethods.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



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

* pgsql: Fix incorrect value for "strategy" with deflateParams() in walme
@ 2022-09-14 05:52 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 7+ messages in thread

From: Michael Paquier @ 2022-09-14 05:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix incorrect value for "strategy" with deflateParams() in walmethods.c

The zlib documentation mentions the values supported for the compression
strategy, but this code has been using a hardcoded value of 0 rather
than Z_DEFAULT_STRATEGY.  This commit adjusts the code to use
Z_DEFAULT_STRATEGY.

Backpatch down to where this code has been added to ease the backport of
any future patch touching this area.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/1400032.1662217889@sss.pgh.pa.us
Backpatch-through: 10

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b3c630cc9230ef1ead0dab0ec1498fb4fd2d0de6

Modified Files
--------------
src/bin/pg_basebackup/walmethods.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



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

* pgsql: Fix incorrect value for "strategy" with deflateParams() in walme
@ 2022-09-14 05:52 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 7+ messages in thread

From: Michael Paquier @ 2022-09-14 05:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix incorrect value for "strategy" with deflateParams() in walmethods.c

The zlib documentation mentions the values supported for the compression
strategy, but this code has been using a hardcoded value of 0 rather
than Z_DEFAULT_STRATEGY.  This commit adjusts the code to use
Z_DEFAULT_STRATEGY.

Backpatch down to where this code has been added to ease the backport of
any future patch touching this area.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/1400032.1662217889@sss.pgh.pa.us
Backpatch-through: 10

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4b529f4697f3cb59e1a225a741f14a1afb6bccd5

Modified Files
--------------
src/bin/pg_basebackup/walmethods.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



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

* pgsql: Fix incorrect value for "strategy" with deflateParams() in walme
@ 2022-09-14 05:52 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 7+ messages in thread

From: Michael Paquier @ 2022-09-14 05:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix incorrect value for "strategy" with deflateParams() in walmethods.c

The zlib documentation mentions the values supported for the compression
strategy, but this code has been using a hardcoded value of 0 rather
than Z_DEFAULT_STRATEGY.  This commit adjusts the code to use
Z_DEFAULT_STRATEGY.

Backpatch down to where this code has been added to ease the backport of
any future patch touching this area.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/1400032.1662217889@sss.pgh.pa.us
Backpatch-through: 10

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a94576c377b7934860d2fa5453d1cf17d8689810

Modified Files
--------------
src/bin/pg_basebackup/walmethods.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



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

* pgsql: Fix incorrect value for "strategy" with deflateParams() in walme
@ 2022-09-14 05:52 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 7+ messages in thread

From: Michael Paquier @ 2022-09-14 05:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix incorrect value for "strategy" with deflateParams() in walmethods.c

The zlib documentation mentions the values supported for the compression
strategy, but this code has been using a hardcoded value of 0 rather
than Z_DEFAULT_STRATEGY.  This commit adjusts the code to use
Z_DEFAULT_STRATEGY.

Backpatch down to where this code has been added to ease the backport of
any future patch touching this area.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/1400032.1662217889@sss.pgh.pa.us
Backpatch-through: 10

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/adb371c9cd95ad48cbcedb21a8cb9b0208295dc6

Modified Files
--------------
src/bin/pg_basebackup/walmethods.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



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

* pgsql: Fix incorrect value for "strategy" with deflateParams() in walme
@ 2022-09-14 05:52 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 7+ messages in thread

From: Michael Paquier @ 2022-09-14 05:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix incorrect value for "strategy" with deflateParams() in walmethods.c

The zlib documentation mentions the values supported for the compression
strategy, but this code has been using a hardcoded value of 0 rather
than Z_DEFAULT_STRATEGY.  This commit adjusts the code to use
Z_DEFAULT_STRATEGY.

Backpatch down to where this code has been added to ease the backport of
any future patch touching this area.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/1400032.1662217889@sss.pgh.pa.us
Backpatch-through: 10

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f01cc02259df914db78e624babb2bc08fa9a9509

Modified Files
--------------
src/bin/pg_basebackup/walmethods.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



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

* pgsql: Fix incorrect value for "strategy" with deflateParams() in walme
@ 2022-09-14 05:52 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 7+ messages in thread

From: Michael Paquier @ 2022-09-14 05:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix incorrect value for "strategy" with deflateParams() in walmethods.c

The zlib documentation mentions the values supported for the compression
strategy, but this code has been using a hardcoded value of 0 rather
than Z_DEFAULT_STRATEGY.  This commit adjusts the code to use
Z_DEFAULT_STRATEGY.

Backpatch down to where this code has been added to ease the backport of
any future patch touching this area.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/1400032.1662217889@sss.pgh.pa.us
Backpatch-through: 10

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a9e99ff6b4ac46f78d4d173d2720ed453dda1331

Modified Files
--------------
src/bin/pg_basebackup/walmethods.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



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


end of thread, other threads:[~2022-09-14 05:52 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 05:52 pgsql: Fix incorrect value for "strategy" with deflateParams() in walme Michael Paquier <michael@paquier.xyz>
2022-09-14 05:52 pgsql: Fix incorrect value for "strategy" with deflateParams() in walme Michael Paquier <michael@paquier.xyz>
2022-09-14 05:52 pgsql: Fix incorrect value for "strategy" with deflateParams() in walme Michael Paquier <michael@paquier.xyz>
2022-09-14 05:52 pgsql: Fix incorrect value for "strategy" with deflateParams() in walme Michael Paquier <michael@paquier.xyz>
2022-09-14 05:52 pgsql: Fix incorrect value for "strategy" with deflateParams() in walme Michael Paquier <michael@paquier.xyz>
2022-09-14 05:52 pgsql: Fix incorrect value for "strategy" with deflateParams() in walme Michael Paquier <michael@paquier.xyz>
2022-09-14 05:52 pgsql: Fix incorrect value for "strategy" with deflateParams() in walme Michael Paquier <michael@paquier.xyz>

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