Re: [GENERAL] Question about ltree....

2004-10-30 Thread Oleg Bartunov
Greg, I don't understand your idea ! Why do you need three Ltrees ? Oleg On Tue, 26 Oct 2004, Greg Saylor wrote: Hello, First let me thank Mike for his earlier suggestion that I consider using ltree - it really is working very nicely!... I do have a question about performance/design though... I

[GENERAL] Question about ltree....

2004-10-30 Thread Greg Saylor
Hello, First let me thank Mike for his earlier suggestion that I consider using ltree - it really is working very nicely!... I do have a question about performance/design though... I have a table like this: CREATE TABLE sometable ( id SERIAL, category0 LTREE, category1 LTR

Re: [GENERAL] Question about ltree....

2004-10-26 Thread Net Virtual Mailing Lists
Somehow I missed the ltree[] array stuff - this solves fairly nicely at least the second part of my problem, but I'm still not sure how to optimize the query which contains the union... My optimized table looks like this: CREATE TABLE sometable ( id SERIAL, category LTREE[] );