pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: anita.liste@gmx.de
To: pgsql-admin@postgresql.org
Subject: Installation on SLES 9.2
Date: Tue, 30 Aug 2005 23:17:31 +0200 (MEST)
Message-ID: <18285.1125436651@www83.gmx.net> (raw)

Hey, 

i searched the documentation and on the net but what i couldn't find a
documentation how to install PostgreSQL 8.0.3 on SUSE Linux Enterprice
Server 9.2 properly. Could someone tell me where to find it?


What i did until now: The Administrator of the box did donwload a version
from :
http://ftp.hosteurope.de/mirror/ftp.suse.com/pub/projects/postgresql/postgresql-8.0.3/


I did initdb with locate='C' and encoding='Latin1'. Unfortunatly Pg toold
that 'ä'='ü' which is wrong. But for strange reasons, postgres does the
right thing by doing a group by.
sample: 
  create table t1 (id serial, key1 text, key2 text);
  create table t2 as select key1, count(*) as cnt from t1 group by key1;
  alter table t2 add primary key (key1);
  create table t3 as select * from t1 join t2 using (key1) where t2.cnt>1;
  alter table t2 add primary key (id);
  -- the last statement fails 

I created another one with 
  initdb -D latin1_de_DE --locale=de_DE -E=latin1 -A trust -U postgres -d
  and started this instance on port 5431 (shouldn't matter) 
How ever, with this instance some problems occur:
 - the client_encoding is very important and must be set to latin1 otherwise
a join between 2 table goes wrong since postgres still assumes 'ö' and 'ü'
as equal and the sample given above could still fail at the last statement. 
 - some insert-statements never finish (ok there is a timelimit configured
which terminates them)

Thx in advance and sorry for my poor english. 
Anita






-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl



Message-ID: <18285.1125436651@www83.gmx.net>
Permalink:  ../18285.1125436651@www83.gmx.net/
Also on:    postgresql.org/message-id/18285.1125436651@www83.gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: anita.liste@gmx.de
  Subject: Re: Installation on SLES 9.2
  In-Reply-To: <18285.1125436651@www83.gmx.net>
  References: <18285.1125436651@www83.gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox