aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index a8a13c2b88b..81a5ba844ba 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -1922,7 +1922,7 @@ exec_command_getresults(PsqlScanState scan_state, bool active_branch)
if (num_results < 0)
{
pg_log_error("\\getresults: invalid number of requested results");
- return PSQL_CMD_SKIP_LINE;
+ return PSQL_CMD_ERROR;
}
pset.requested_results = num_results;
}