• Alex Suraci's avatar
    postgres: refactor error handling to fix retrying · 587081a6
    Alex Suraci authored
    prior to this change, many of the functions in the ExecTx callback would
    wrap the error before returning it. this made it impossible to check
    for the error code.
    
    instead, the error wrapping has been moved to be external to the
    `ExecTx` callback, so that the error code can be checked and
    serialization failures can be retried.
    587081a6
Name
Last commit
Last update
Documentation Loading commit data...
api Loading commit data...
cmd Loading commit data...
connector Loading commit data...
examples Loading commit data...
scripts Loading commit data...
server Loading commit data...
storage Loading commit data...
vendor Loading commit data...
version Loading commit data...
web Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
DCO Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
NOTICE Loading commit data...
README.md Loading commit data...
code-of-conduct.md Loading commit data...
glide.lock Loading commit data...
glide.yaml Loading commit data...
glide_test.go Loading commit data...