diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 1441fbc0bc..63ac6fbff4 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.16 2000/01/29 16:58:48 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.17 2000/02/05 12:27:56 ishii Exp $ */ #include #include "command.h" @@ -984,7 +984,7 @@ do_connect(const char *new_dbname, const char *new_user) } PQsetNoticeProcessor(pset.db, NoticeProcessor, NULL); - pset.encoding = PQclientencoding(pset.db); + pset.encoding = PQclientEncoding(pset.db); /* Update variables */ SetVariable(pset.vars, "DBNAME", PQdb(pset.db)); diff --git a/src/bin/psql/startup.c b/src/bin/psql/startup.c index d92adce381..478356deb5 100644 --- a/src/bin/psql/startup.c +++ b/src/bin/psql/startup.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/startup.c,v 1.20 2000/01/29 16:58:49 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/startup.c,v 1.21 2000/02/05 12:27:56 ishii Exp $ */ #include @@ -173,7 +173,7 @@ main(int argc, char **argv) * We need to save the encoding because we want to have it * available even if the database connection goes bad. */ - pset.encoding = PQclientencoding(pset.db); + pset.encoding = PQclientEncoding(pset.db); if (options.action == ACT_LIST_DB) {