diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2003-02-19 14:31:26 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2003-02-19 14:31:26 +0000 |
commit | e2a618fe25f9e02f17dacff4c3d2f117b56c7715 (patch) | |
tree | eb789d9336e38269d0e97932325f313759e58ccd /src/backend/utils/init/postinit.c | |
parent | d5740d7e26ab59da1c4a037510defbb1334eaaf4 (diff) | |
download | postgresql-e2a618fe25f9e02f17dacff4c3d2f117b56c7715.tar.gz postgresql-e2a618fe25f9e02f17dacff4c3d2f117b56c7715.zip |
Fix for GUC client_encoding variable not being handled
correctly. See following thread for more details.
Subject: [HACKERS] client_encoding directive is ignored in postgresql.conf
From: Tatsuo Ishii <t-ishii@sra.co.jp>
Date: Wed, 29 Jan 2003 22:24:04 +0900 (JST)
Diffstat (limited to 'src/backend/utils/init/postinit.c')
-rw-r--r-- | src/backend/utils/init/postinit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index 3ad2c50a843..36dd3c7b5c2 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.118 2002/11/21 06:36:08 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.119 2003/02/19 14:31:26 ishii Exp $ * * *------------------------------------------------------------------------- @@ -397,6 +397,9 @@ InitPostgres(const char *dbname, const char *username) /* set default namespace search path */ InitializeSearchPath(); + /* initialize client encoding */ + InitializeClientEncoding(); + /* * Set up process-exit callback to do pre-shutdown cleanup. This * should be last because we want shmem_exit to call this routine |