Skip site navigation (1) Skip section navigation (2)

Re: Text pattern JOINs that use indexes

From: joseph speigle <joe(dot)speigle(at)jklh(dot)us>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Text pattern JOINs that use indexes
Date: 2004-03-16 18:07:14
Message-ID: 20040316180714.GB17966@www.sirfsup.com (view raw or flat)
Thread:
Lists: pgsql-novice
Richard Brooksby,

can you forward the solution as you have it now?  I am very interested in how this question turns out.

joe

>
> Thanks, Tom, I can now see why the planner is making the choice it
> does.  I suppose in theory if I could guarantee that "test.filename"
> didn't contain '%' then the planner could do better, if it was clever
> enough.
>
> Do you have a suggestion for how I achieve what I want?  My current
> solution is a function with nested FOR loops, but it seems a great
> shame to have to write it all out by hand.
>

-- 
joe speigle
www.sirfsup.com

In response to

Responses

pgsql-novice by date

Next:From: Richard BrooksbyDate: 2004-03-16 18:32:09
Subject: Re: Text pattern JOINs that use indexes
Previous:From: joseph speigleDate: 2004-03-16 18:06:11
Subject: Re: Text pattern JOINs that use indexes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group