summaryrefslogtreecommitdiff
path: root/contrib/btree_gist/sql
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2018-08-05 05:32:27 +0900
committerMichael Paquier <michael@paquier.xyz>2018-08-05 05:32:27 +0900
commitf5b4bb88120f8945ead702bec0e4eaf46542e8f3 (patch)
treec43f70b5f48b99c57ebff8414633238949f64216 /contrib/btree_gist/sql
parent0a60a291c9a5b8ecdf44cbbfecc4504e3c21ef49 (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/31797.1533326676@sss.pgh.pa.us
Diffstat (limited to 'contrib/btree_gist/sql')
0 files changed, 0 insertions, 0 deletions