OSDN Git Service

Change function name PQclientencoding to PQclientEncoding since
authorTatsuo Ishii <ishii@postgresql.org>
Sat, 5 Feb 2000 12:27:56 +0000 (12:27 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Sat, 5 Feb 2000 12:27:56 +0000 (12:27 +0000)
it seems more suitable for the naming convention in libpq.

src/bin/psql/command.c
src/bin/psql/startup.c

index 1441fbc..63ac6fb 100644 (file)
@@ -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 <c.h>
 #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));
index d92adce..478356d 100644 (file)
@@ -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 <c.h>
 
@@ -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)
        {