Re: ltree PostgreSQL Module - Mailing list pgsql-hackers

From John Hansen
Subject Re: ltree PostgreSQL Module
Date
Msg-id 5066E5A966339E42AA04BA10BA706AE56205@rodrick.geeknet.com.au
Whole thread Raw
Responses Re: ltree PostgreSQL Module  (Oleg Bartunov <oleg@sai.msu.su>)
Re: ltree PostgreSQL Module  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
Oleg,

For example:

The DMOZ topic: Top/World/Español/Países/México/Referencia/Bibliotecas/Nacionales

select text2ltree(replace('Top/World/Español/Países/México/Referencia/Bibliotecas/Nacionales','/','.'));
ERROR:  syntax error at position 14 near "Ã"

I've also found that topics contain , as in the DMOZ Topic:
Top/Arts/Music/Composition/Composers/F/Fasch,_Johann_Friedrich

Kind regards

John

> -----Original Message-----
> From: Oleg Bartunov [mailto:oleg@sai.msu.su]
> Sent: Thursday, November 11, 2004 8:48 PM
> To: John Hansen
> Cc: Teodor Sigaev; Pgsql Hackers
> Subject: Re: ltree PostgreSQL Module
>
> John,
>
> On Thu, 11 Nov 2004, John Hansen wrote:
>
> > Hello folks,
> >
> > It seems that the ltree module does not support the data
> for which is
> > was (aparantly) created.
> >
> > The DMOZ data is encoded in UTF8, but ISALNUM() does not support
> > unicode characters...
> > In fact, it does not support any database encoding.
> >
> > Is there any plans to change this?
>
> it's very difficult to see your problem without any examples !
> Many people are lucky users of ltree module, so you probably
> have some other problem. Any test demonstrating your probelm
> would be very useful.
> Also, posting to mailing lists would help other people help  you.
>
> >
> > Kind Regards,
> >
> > John Hansen
> >
>
>      Regards,
>          Oleg
> _____________________________________________________________
> Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
> Sternberg Astronomical Institute, Moscow University (Russia)
> Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
> phone: +007(095)939-16-83, +007(095)939-23-83
>
>


pgsql-hackers by date:

Previous
From: Patrick B Kelly
Date:
Subject: Re: multiline CSV fields
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] plperl Safe restrictions