|
|
|
@ -4,7 +4,7 @@ |
|
|
|
* (currently mule internal code (mic) is used) |
|
|
|
* (currently mule internal code (mic) is used) |
|
|
|
* Tatsuo Ishii |
|
|
|
* Tatsuo Ishii |
|
|
|
* |
|
|
|
* |
|
|
|
* $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.52 2005/10/15 02:49:33 momjian Exp $ |
|
|
|
* $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.53 2006/01/11 06:59:22 neilc Exp $ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
#include "postgres.h" |
|
|
|
#include "postgres.h" |
|
|
|
|
|
|
|
|
|
|
|
@ -80,8 +80,8 @@ SetClientEncoding(int encoding, bool doit) |
|
|
|
* Check for cases that require no conversion function. |
|
|
|
* Check for cases that require no conversion function. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
if (current_server_encoding == encoding || |
|
|
|
if (current_server_encoding == encoding || |
|
|
|
(current_server_encoding == PG_SQL_ASCII || |
|
|
|
current_server_encoding == PG_SQL_ASCII || |
|
|
|
encoding == PG_SQL_ASCII)) |
|
|
|
encoding == PG_SQL_ASCII) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (doit) |
|
|
|
if (doit) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|