-
- Downloads
From: Oleg Bartunov <oleg@sai.msu.su>
Subject: [HACKERS] locale patches ! Hi there, here are little patches to get Postgres 6.1 works with locale stuff. This is a patch against 970402.tar.gz, there are no problem to apply them by hand to 6.0 release. Collate stuff tested about 1-2 months in real working database but I'm sure there must be no problem. US hackers could vote against locale implementation ( locale for sure will affect to speed of postgres ), so I introduce variable USE_LOCALE which controls locale stuff. Non-US users now could use ~* operator for searching and <order by> for strings with nation alphabet. Please, don't forget, as I did first time, to set environment variable LC_CTYPE and LC_COLLATE because backend get locale information from them. I start postmaster from a little script, assuming that shell is Bash shell it looks like: #!/bin/sh export LC_CTYPE=koi8-r export LC_COLLATE=koi8-r postmaster -B 1024 -S -D/usr/local/pgsql/data/ -o '-Fe'
Showing
- src/Makefile.global.in 11 additions, 1 deletionsrc/Makefile.global.in
- src/backend/bootstrap/Makefile 1 addition, 8 deletionssrc/backend/bootstrap/Makefile
- src/backend/main/main.c 8 additions, 1 deletionsrc/backend/main/main.c
- src/backend/optimizer/geqo/Makefile 2 additions, 2 deletionssrc/backend/optimizer/geqo/Makefile
- src/backend/parser/Makefile 1 addition, 8 deletionssrc/backend/parser/Makefile
- src/backend/postmaster/Makefile 1 addition, 12 deletionssrc/backend/postmaster/Makefile
- src/backend/tcop/Makefile 1 addition, 8 deletionssrc/backend/tcop/Makefile
- src/backend/utils/adt/varlena.c 9 additions, 1 deletionsrc/backend/utils/adt/varlena.c
- src/interfaces/libpgtcl/Makefile 1 addition, 6 deletionssrc/interfaces/libpgtcl/Makefile
Loading
Please register or sign in to comment