pgsql: Fix argument given to buffer_readv_encode_error()
Started by Michael Paquierabout 1 month ago1 messagescommitters
Stepping through
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: /messages/by-id/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(-)