From 31176cd686f31dcb71392f6583f7b8d9cef63770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 May 2024 21:16:19 +0200 Subject: Adding upstream version 16.3. Signed-off-by: Daniel Baumann --- src/bin/psql/common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bin/psql/common.c') diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index 5973df2..3b0710a 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -1662,6 +1662,8 @@ ExecQueryAndProcessResults(const char *query, if (cancel_pressed) { + /* drop this next result, as well as any others not yet read */ + ClearOrSaveResult(result); ClearOrSaveAllResults(); break; } -- cgit v1.2.3