aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r--src/bin/psql/help.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 6fc4ebab1e8..eb3a0f36d94 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -28,6 +28,7 @@
#include "settings.h"
#include "sql_help.h"
+#include "fe_utils/logging.h"
/*
* PLEASE:
@@ -59,7 +60,7 @@ usage(unsigned short int pager)
user = get_user_name(&errstr);
if (!user)
{
- psql_error("%s\n", errstr);
+ pg_log_fatal("%s", errstr);
exit(EXIT_FAILURE);
}
}