diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-02-24 15:27:04 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-02-24 15:27:04 +0000 |
commit | 0227a4e1141ae83ac3ae145fa283ede13e86e23e (patch) | |
tree | 587d06ca0b71c88ae2c1ac4a90bd5bba13a5c668 /src/backend/tcop/postgres.c | |
parent | 96316211c3a1300b304d452e09c726fb775aa502 (diff) | |
download | postgresql-0227a4e1141ae83ac3ae145fa283ede13e86e23e.tar.gz postgresql-0227a4e1141ae83ac3ae145fa283ede13e86e23e.zip |
From: "Denis V. Dmitrienko" <denis@null.net>
What it does:
It solves stupid problem with cyrillic charsets IP-based on-fly recoding.
take a look at /data/charset.conf for details.
You can use any tables for any charset.
Tables are from Russian Apache project.
Tables in this patch contains also Ukrainian characters.
Then run ./configure --enable-recode
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 3575d69d4f5..b981dcb125a 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.65 1998/02/02 00:05:03 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.66 1998/02/24 15:19:23 scrappy Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1168,6 +1168,10 @@ PostgresMain(int argc, char *argv[]) SetPgUserName(); userName = GetPgUserName(); +#ifdef CYR_RECODE + SetCharSet(); +#endif + if (FindBackend(pg_pathname, argv[0]) < 0) elog(FATAL, "%s: could not locate executable, bailing out...", argv[0]); @@ -1293,7 +1297,7 @@ PostgresMain(int argc, char *argv[]) if (IsUnderPostmaster == false) { puts("\nPOSTGRES backend interactive interface"); - puts("$Revision: 1.65 $ $Date: 1998/02/02 00:05:03 $"); + puts("$Revision: 1.66 $ $Date: 1998/02/24 15:19:23 $"); } /* ---------------- |