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/include/postgres.h | |
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/include/postgres.h')
-rw-r--r-- | src/include/postgres.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index fde7c6c6bb8..f1d4704e46b 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -6,7 +6,7 @@ * * Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.11 1997/11/13 03:22:46 momjian Exp $ + * $Id: postgres.h,v 1.12 1998/02/24 15:27:04 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -214,4 +214,12 @@ typedef uint32 CommandId; #define STATUS_BAD_PACKET (-7) #define STATUS_FOUND (1) +/* --------------- + * Cyrillic on the fly charsets recode + * --------------- + */ +#ifdef CYR_RECODE +void SetCharSet(); +#endif /* CYR_RECODE */ + #endif /* POSTGRES_H */ |