Re: Text pattern JOINs that use indexes - Mailing list pgsql-novice

From joseph speigle
Subject Re: Text pattern JOINs that use indexes
Date
Msg-id 20040316180611.GA17966@www.sirfsup.com
Whole thread Raw
In response to Re: Text pattern JOINs that use indexes  (Richard Brooksby <rb@ravenbrook.com>)
List 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

pgsql-novice by date:

Previous
From: "cristi"
Date:
Subject: conversion of postgres database to oracle
Next
From: joseph speigle
Date:
Subject: Re: Text pattern JOINs that use indexes