summaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2005-12-26 14:58:06 +0000
committerPeter Eisentraut <peter_e@gmx.net>2005-12-26 14:58:06 +0000
commit6840cccd11490a9db4f98fbf9209ddf7662866a6 (patch)
tree38bafac7856655138a24633f17ab3964312d9d83 /src/bin/psql/command.c
parent5c9a46f6053a7d2b7ceb3688d665be1c27acbb15 (diff)
Rename pg_make_encrypted_password to PQencryptPassword.
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 6e5ddf53696..e108ef20c2b 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.157 2005/12/23 01:16:38 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.158 2005/12/26 14:58:04 petere Exp $
*/
#include "postgres_fe.h"
#include "command.h"
@@ -643,7 +643,7 @@ exec_command(const char *cmd,
else
user = PQuser(pset.db);
- encrypted_password = pg_make_encrypted_password(pw1, user);
+ encrypted_password = PQencryptPassword(pw1, user);
if (!encrypted_password)
{