aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2022-10-22 09:41:38 +0200
committerPeter Eisentraut <peter@eisentraut.org>2022-10-22 09:42:52 +0200
commit2598b76bf2bc78af4c65ffab4736c7b49205fc7a (patch)
tree237f27c6dcac15cf36857b9e52ac4096b0465eee /src/backend/access/transam/xlog.c
parent6cc66197ff9aa34cc47486d7bf719f376f6f5ff8 (diff)
downloadpostgresql-2598b76bf2bc78af4c65ffab4736c7b49205fc7a.tar.gz
postgresql-2598b76bf2bc78af4c65ffab4736c7b49205fc7a.zip
psql: Fix exit status when query is canceled
Because of a small thinko in 7844c9918a43b494adde3575891d217a37062378, psql -c would exit successfully when a query is canceled. Fix this so that it exits with a nonzero status, just like for all other errors.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions