pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix argument given to buffer_readv_encode_error()
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix argument given to buffer_readv_encode_error()
@ 2026-10-16 05:31 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2026-10-16 05:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix argument given to buffer_readv_encode_error()

buffer_readv_encode_error() expects a uint8 for its "error_count"
argument, but the value given was a boolean.  That's harmless in
practice, but let's be clean.

Thinko in 047cba7fa0f8.

Author: Antonin Houska <ah@cybertec.at>
Reviewed-by: Steven Niu <niushiji@gmail.com>
Discussion: https://postgr.es/m/8073.1791959482@localhost
Backpatch-through: 18

Branch
------
master

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

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Fix argument given to buffer_readv_encode_error()
@ 2026-10-16 05:31 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2026-10-16 05:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix argument given to buffer_readv_encode_error()

buffer_readv_encode_error() expects a uint8 for its "error_count"
argument, but the value given was a boolean.  That's harmless in
practice, but let's be clean.

Thinko in 047cba7fa0f8.

Author: Antonin Houska <ah@cybertec.at>
Reviewed-by: Steven Niu <niushiji@gmail.com>
Discussion: https://postgr.es/m/8073.1791959482@localhost
Backpatch-through: 18

Branch
------
REL_19_STABLE

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

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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

* pgsql: Fix argument given to buffer_readv_encode_error()
@ 2026-10-16 05:31 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2026-10-16 05:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix argument given to buffer_readv_encode_error()

buffer_readv_encode_error() expects a uint8 for its "error_count"
argument, but the value given was a boolean.  That's harmless in
practice, but let's be clean.

Thinko in 047cba7fa0f8.

Author: Antonin Houska <ah@cybertec.at>
Reviewed-by: Steven Niu <niushiji@gmail.com>
Discussion: https://postgr.es/m/8073.1791959482@localhost
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/368e12de252707ffa50f9a471bd9c36709c4b2f0

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



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


end of thread, other threads:[~2026-10-16 05:31 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 05:31 pgsql: Fix argument given to buffer_readv_encode_error() Michael Paquier <michael@paquier.xyz>
2026-10-16 05:31 pgsql: Fix argument given to buffer_readv_encode_error() Michael Paquier <michael@paquier.xyz>
2026-10-16 05:31 pgsql: Fix argument given to buffer_readv_encode_error() 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