mirror of
https://github.com/postgres/postgres.git
synced 2025-08-12 15:23:02 +03:00
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'
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#
|
||||
# Copyright (c) 1994, Regents of the University of California
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1997/03/14 16:02:40 scrappy Exp $
|
||||
# $Id: Makefile,v 1.4 1997/04/02 18:11:49 scrappy Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@@ -16,7 +16,7 @@ INCLUDE_OPT = -I../.. \
|
||||
-I../../port/$(PORTNAME) \
|
||||
-I../../../include
|
||||
|
||||
CFLAGS+=$(INCLUDE_OPT) -Wno-error
|
||||
CFLAGS+=$(INCLUDE_OPT)
|
||||
|
||||
OBJS = geqo_copy.o geqo_eval.o geqo_main.o geqo_misc.o \
|
||||
geqo_params.o geqo_paths.o geqo_pool.o geqo_recombination.o \
|
||||
|
Reference in New Issue
Block a user