From: Alvar Freude <alvar.freude@merz-akademie.de>
To: pgsql-sql@postgresql.org
Cc: miguel sofer <mig@utdt.edu>
Subject: Re: How to represent a tree-structure in a relationaldatabase
Date: Fri, 15 Dec 2000 04:26:08 +0100
Message-ID: <3A398F50.9EBAADB8@merz-akademie.de> (raw)
References: <3A379A5F.97FFAF01@joerdens.de>
<20001213.19440200@ant.utdt>
<3A398526.3C491E91@merz-akademie.de>
Hi,
>
> > I once started writing a small paper on this subject; it is still in a
> > rather preliminary state.
> >
> > You can download the draft (and some ill documented code, 53kB) from
> > http://www.utdt.edu/~mig/sql-trees
>
i guess, with base 160 encoding there might be a problem: if postgres is
compiled with --enable-locale (e.g. for german umlauts), the ordering
isn't according to the ASCII number of the character, so for this
purpose it's needed to build the encoding table according to the locate
settings. Or simply sort it according the locale settings.
What's against using all characters >= 32, excluding special characters
with special meaninbg in LIKE and regexps? With base 208 encoding it's
possible to have 43264 elements on each level.
Ciao
Alvar
--
Alvar C.H. Freude | alvar.freude@merz-akademie.de
Demo: http://www.online-demonstration.org/ | Mach mit!
Blast-DE: http://www.assoziations-blaster.de/ | Blast-Dich-Fit
Blast-EN: http://www.a-blast.org/ | Blast/english
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-sql@postgresql.org
Cc: alvar.freude@merz-akademie.de, mig@utdt.edu
Subject: Re: How to represent a tree-structure in a relationaldatabase
In-Reply-To: <3A398F50.9EBAADB8@merz-akademie.de>
References: <3A379A5F.97FFAF01@joerdens.de> <20001213.19440200@ant.utdt> <3A398526.3C491E91@merz-akademie.de> <3A398F50.9EBAADB8@merz-akademie.de>
* 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