git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6cc6619) | patch
psql: Fix exit status when query is canceled
2022年10月22日 07:41:38 +0000 (09:41 +0200)
2022年10月22日 07:42:52 +0000 (09:42 +0200)
commit 2598b76bf2bc78af4c65ffab4736c7b49205fc7a
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.
src/bin/psql/common.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /