Skip to content
Snippets Groups Projects
Commit 3e20b7fa authored by Peter Eisentraut's avatar Peter Eisentraut
Browse files

pg_checksums: Handle read and write returns correctly


The read() return was not checking for errors, the write() return was
not checking for short writes.

Reviewed-by: default avatarMichael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/5de61b6b-8be9-7771-0048-860328efe027%402ndquadrant.com
parent 6ef12164
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment