Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
87e701b8
Commit
87e701b8
authored
Apr 20, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up const-vs-not-const compiler warning in MULTIBYTE code.
'Twas my fault, I think.
parent
a2b5fac8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/backend/utils/mb/variable.c
src/backend/utils/mb/variable.c
+3
-3
src/include/mb/pg_wchar.h
src/include/mb/pg_wchar.h
+3
-3
No files found.
src/backend/utils/mb/variable.c
View file @
87e701b8
...
...
@@ -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
(
c
onst
c
har
*
value
)
parse_client_encoding
(
char
*
value
)
{
int
encoding
;
...
...
@@ -60,7 +60,7 @@ reset_client_encoding()
}
bool
parse_server_encoding
(
c
onst
c
har
*
value
)
parse_server_encoding
(
char
*
value
)
{
elog
(
NOTICE
,
"SET SERVER_ENCODING is not supported"
);
return
TRUE
;
...
...
src/include/mb/pg_wchar.h
View file @
87e701b8
/* $Id: pg_wchar.h,v 1.1
3 2000/01/18 05:08:31 ishii
Exp $ */
/* $Id: pg_wchar.h,v 1.1
4 2000/04/20 22:40:18 tgl
Exp $ */
#ifndef PG_WCHAR_H
#define PG_WCHAR_H
...
...
@@ -112,10 +112,10 @@ extern int pg_mbcliplen(const unsigned char *, int, int);
extern
pg_encoding_conv_tbl
*
pg_get_encent_by_encoding
(
int
);
extern
bool
show_client_encoding
(
void
);
extern
bool
reset_client_encoding
(
void
);
extern
bool
parse_client_encoding
(
c
onst
c
har
*
);
extern
bool
parse_client_encoding
(
char
*
);
extern
bool
show_server_encoding
(
void
);
extern
bool
reset_server_encoding
(
void
);
extern
bool
parse_server_encoding
(
c
onst
c
har
*
);
extern
bool
parse_server_encoding
(
char
*
);
extern
int
pg_set_client_encoding
(
int
);
extern
int
pg_get_client_encoding
(
void
);
extern
unsigned
char
*
pg_client_to_server
(
unsigned
char
*
,
int
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment