summaryrefslogtreecommitdiff
path: root/src/include/parser/analyze.h
diff options
context:
space:
mode:
authorMichael Paquier2018-08-04 20:31:18 +0000
committerMichael Paquier2018-08-04 20:31:18 +0000
commit5a23c74b63ec9f63c648f79b13a900c37332ee55 (patch)
tree3d8c59682c7f4d43a57ad29c2712c285532002c7 /src/include/parser/analyze.h
parente61f21b921aebc0870d3ac47f77fc17e75e2fefb (diff)
Reset properly errno before calling write()
6cb3372 enforces errno to ENOSPC when less bytes than what is expected have been written when it is unset, though it forgot to properly reset errno before doing a system call to write(), causing errno to potentially come from a previous system call. Reported-by: Tom Lane Author: Michael Paquier Reviewed-by: Tom Lane Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/include/parser/analyze.h')
0 files changed, 0 insertions, 0 deletions