From 5b1311acfbd6b84dbb84975240914214c51fcb48 Mon Sep 17 00:00:00 2001 From: Marc G. Fournier Date: Wed, 2 Apr 1997 18:13:47 +0000 Subject: From: Oleg Bartunov 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 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' --- src/interfaces/libpgtcl/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/interfaces/libpgtcl') diff --git a/src/interfaces/libpgtcl/Makefile b/src/interfaces/libpgtcl/Makefile index 6780b71c694..059072c9ffb 100644 --- a/src/interfaces/libpgtcl/Makefile +++ b/src/interfaces/libpgtcl/Makefile @@ -7,7 +7,7 @@ # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.11 1997/03/25 09:19:41 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.12 1997/04/02 18:13:47 scrappy Exp $ # #------------------------------------------------------------------------- @@ -25,11 +25,6 @@ ifdef KRBVERS CFLAGS+= $(KRBFLAGS) endif -ifeq ($(CC), gcc) - CFLAGS+= -Wno-error -endif - - shlib := install-shlib-dep := -- cgit v1.2.3