pgsql: psql: Fix exit status when query is canceled

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: psql: Fix exit status when query is canceled
Дата
Msg-id E1om9M9-000Gsc-Sc@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2598b76bf2bc78af4c65ffab4736c7b49205fc7a

Modified Files
--------------
src/bin/psql/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Improve memory handling across SQL-callable backup functions
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Remove pgpid_t type, use pid_t instead