Change function name PQclientencoding to PQclientEncoding since
it seems more suitable for the naming convention in libpq.
This commit is contained in:
parent
ad15560573
commit
b304b4a90e
@ -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));
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user