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
8cbda7cb
Commit
8cbda7cb
authored
Oct 26, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix breakage I introduced yesterday in MULTIBYTE compilations.
Sorry 'bout that, chief...
parent
62cc75c8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
src/backend/commands/variable.c
src/backend/commands/variable.c
+9
-1
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+4
-4
src/include/commands/variable.h
src/include/commands/variable.h
+2
-1
No files found.
src/backend/commands/variable.c
View file @
8cbda7cb
...
...
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.4
2 2000/10/25 19:44:4
4 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.4
3 2000/10/26 17:31:3
4 tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -665,6 +665,14 @@ reset_client_encoding(void)
return
TRUE
;
}
/* Called during MULTIBYTE backend startup ... */
void
set_default_client_encoding
(
void
)
{
reset_client_encoding
();
}
static
bool
parse_server_encoding
(
char
*
value
)
{
...
...
src/backend/tcop/postgres.c
View file @
8cbda7cb
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.18
1 2000/10/24 21:33:48
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.18
2 2000/10/26 17:31:35
tgl Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -1593,8 +1593,8 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[], const cha
#ifdef MULTIBYTE
/* set default client encoding */
if
(
DebugLvl
>
1
)
elog
(
DEBUG
,
"
rese
t_client_encoding"
);
rese
t_client_encoding
();
elog
(
DEBUG
,
"
set_defaul
t_client_encoding"
);
set_defaul
t_client_encoding
();
#endif
on_shmem_exit
(
remove_all_temp_relations
,
0
);
...
...
@@ -1618,7 +1618,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[], const cha
if
(
!
IsUnderPostmaster
)
{
puts
(
"
\n
POSTGRES backend interactive interface "
);
puts
(
"$Revision: 1.18
1 $ $Date: 2000/10/24 21:33:48
$
\n
"
);
puts
(
"$Revision: 1.18
2 $ $Date: 2000/10/26 17:31:35
$
\n
"
);
}
/*
...
...
src/include/commands/variable.h
View file @
8cbda7cb
...
...
@@ -2,7 +2,7 @@
* Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'
* statements
*
* $Id: variable.h,v 1.1
2 2000/06/22 22:31:23 petere
Exp $
* $Id: variable.h,v 1.1
3 2000/10/26 17:31:33 tgl
Exp $
*
*/
#ifndef VARIABLE_H
...
...
@@ -13,5 +13,6 @@ extern void GetPGVariable(const char *name);
extern
void
ResetPGVariable
(
const
char
*
name
);
extern
void
set_default_datestyle
(
void
);
extern
void
set_default_client_encoding
(
void
);
#endif
/* VARIABLE_H */
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