mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
Clean up const-vs-not-const compiler warning in MULTIBYTE code.
'Twas my fault, I think.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* This file contains some public functions
|
||||
* related to show/set/reset variable commands.
|
||||
* Tatsuo Ishii
|
||||
* $Id: variable.c,v 1.6 2000/01/18 13:44:48 ishii Exp $
|
||||
* $Id: variable.c,v 1.7 2000/04/20 22:40:18 tgl Exp $
|
||||
*/
|
||||
|
||||
#include "postgres.h"
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "mb/pg_wchar.h"
|
||||
|
||||
bool
|
||||
parse_client_encoding(const char *value)
|
||||
parse_client_encoding(char *value)
|
||||
{
|
||||
int encoding;
|
||||
|
||||
@@ -60,7 +60,7 @@ reset_client_encoding()
|
||||
}
|
||||
|
||||
bool
|
||||
parse_server_encoding(const char *value)
|
||||
parse_server_encoding(char *value)
|
||||
{
|
||||
elog(NOTICE, "SET SERVER_ENCODING is not supported");
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user