From: | Allan Kamau <kamauallan(at)gmail(dot)com> |
---|---|
To: | Postgres General Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Trying to obtain the intersect of two tsvector values |
Date: | 2010-11-17 19:11:33 |
Message-ID: | AANLkTimTWi62q=sou557WarF3jGYgS8ETLzmp=wMvkKA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Nov 17, 2010 at 8:44 PM, Allan Kamau <kamauallan(at)gmail(dot)com> wrote:
> I have two tables forming a parent-child relationship, in my case a
> child entity could appear to have multiple parent records.
>
> Given records of the parent table, I would like to perform a pairwise
> determination of shared children between each such pair.
>
> I am thinking of using full text search for this. If this is the right
> direction, is there a way to obtain the intersect of two tsvector
> values?
>
> Allan.
>
Maybe full outer joins will help. Having a relation of the parent
flanked on either side by a child relation then prune out records in
the resulting relation not having representation on both child
relation records. I will give it a try.
Allan.
From | Date | Subject | |
---|---|---|---|
Next Message | Aram Fingal | 2010-11-17 19:23:43 | Re: Alter table to "on update cascade" |
Previous Message | Andreas Kretschmer | 2010-11-17 17:49:32 | Re: Alter table to "on update cascade" |