aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/startup.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2005-12-18 02:17:16 +0000
committerPeter Eisentraut <peter_e@gmx.net>2005-12-18 02:17:16 +0000
commitb16566d77168540730d7ca26f8fe1832f15d450e (patch)
treea65b992c8e31be33e37fa9e1fde6d99601cdb626 /src/bin/psql/startup.c
parentea771743c80ca9c84ee4428e66f861ae8344061b (diff)
downloadpostgresql-b16566d77168540730d7ca26f8fe1832f15d450e.tar.gz
postgresql-b16566d77168540730d7ca26f8fe1832f15d450e.zip
Add new psql command \password for changing role password with client-side
password encryption. Also alter createuser command to the same effect.
Diffstat (limited to 'src/bin/psql/startup.c')
-rw-r--r--src/bin/psql/startup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/startup.c b/src/bin/psql/startup.c
index 8aa2b626b39..ee70c7b379a 100644
--- a/src/bin/psql/startup.c
+++ b/src/bin/psql/startup.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.128 2005/11/22 18:17:29 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.129 2005/12/18 02:17:16 petere Exp $
*/
#include "postgres_fe.h"
@@ -286,7 +286,7 @@ main(int argc, char *argv[])
options.action_string,
strlen(options.action_string));
- successResult = HandleSlashCmds(scan_state, NULL) != CMD_ERROR
+ successResult = HandleSlashCmds(scan_state, NULL) != PSQL_CMD_ERROR
? EXIT_SUCCESS : EXIT_FAILURE;
psql_scan_destroy(scan_state);