From 0227a4e1141ae83ac3ae145fa283ede13e86e23e Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Tue, 24 Feb 1998 15:27:04 +0000 Subject: From: "Denis V. Dmitrienko" 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 --- src/backend/tcop/postgres.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/backend/tcop/postgres.c') 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 $"); } /* ---------------- -- cgit v1.2.3