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 | [EMAIL PROTECTED] 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
- [SQL] How to represent a tree-structure in a relat... Frank Joerdens
- Re: [SQL] How to represent a tree-structure i... Josh Berkus
- Re: [SQL] How to represent a tree-structu... Frank Joerdens
- Re: [SQL] How to represent a tree-str... clayton cottingham
- Re: [SQL] How to represent a tree-structure i... Mathijs Brands
- RE: [SQL] How to represent a tree-structu... Stuart Statman
- Re: [SQL] How to represent a tree-str... Mathijs Brands
- Re: [SQL] How to represent a tree-structure i... miguel sofer
- Re: [SQL] How to represent a tree-structu... Alvar Freude
- Re: [SQL] How to represent a tree-str... Alvar Freude
- Re: [SQL] How to represent a tree-str... miguel sofer
- Re: [SQL] How to represent a tree... Alvar Freude
- RE: [SQL] How to represent a tree-structure i... Stuart Statman
- Re: [SQL] How to represent a tree-structu... Frank Joerdens
- Re: [SQL] How to represent a tree-str... Josh Berkus
- RE: [SQL] How to represent a tree... Stuart Statman
- Re: [SQL] How to represent a... Josh Berkus
- Re: [SQL] How to represe... Mathijs Brands
- Re: [SQL] How to rep... clayton cottingham
- RE: [SQL] How to represe... Opec Kemp \( Ozemail \)