postgresql/src/backend
Marc G. Fournier 5b1311acfb 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'
1997-04-02 18:13:47 +00:00
..
access CloseSequences () at xact commit/abort. 1997-04-02 03:38:02 +00:00
bootstrap From: Oleg Bartunov <oleg@sai.msu.su> 1997-04-02 18:13:47 +00:00
catalog Hack for heap_creat to enable relkind to be 'S' for sequences. 1997-04-02 03:41:16 +00:00
commands Can't COPY TO sequence relation. 1997-04-02 03:57:06 +00:00
executor Can't INSERT/UPDATE/DELETE sequence relation. 1997-04-02 04:04:11 +00:00
lib Remove CFLAGS_SL from lib/Makefile 1997-01-14 02:35:34 +00:00
libpq Slight Linux related bug pointed out by Gabriel Akos <gabriel@rocker.sch.bme.hu> 1997-03-28 09:43:53 +00:00
main From: Oleg Bartunov <oleg@sai.msu.su> 1997-04-02 18:13:47 +00:00
nodes From: Dan McGuirk <mcguirk@indirect.com> 1997-03-12 21:00:17 +00:00
optimizer From: Oleg Bartunov <oleg@sai.msu.su> 1997-04-02 18:13:47 +00:00
parser From: Oleg Bartunov <oleg@sai.msu.su> 1997-04-02 18:13:47 +00:00
port MOre univel port patches/files from: 1997-03-25 07:54:53 +00:00
postmaster From: Oleg Bartunov <oleg@sai.msu.su> 1997-04-02 18:13:47 +00:00
regex Remove __P macro usage so it compiles without cdefs.h. 1996-12-15 09:21:37 +00:00
rewrite Change %ud to %u 1996-12-26 17:49:56 +00:00
storage From: Dan McGuirk <mcguirk@indirect.com> 1997-03-28 07:06:53 +00:00
tcop From: Oleg Bartunov <oleg@sai.msu.su> 1997-04-02 18:13:47 +00:00
tioga Makefile cleanup after reorganization 1996-11-09 06:24:51 +00:00
utils From: Oleg Bartunov <oleg@sai.msu.su> 1997-04-02 18:13:47 +00:00
Makefile Use $(CC), not gcc, to compile 1997-04-02 00:34:23 +00:00