| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | hamann(dot)w(at)t-online(dot)de |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Optimizing query? |
| Date: | 2013-02-02 09:25:40 |
| Message-ID: | CAFj8pRB6B3T8o4VGPA_bJhDNSEG72YJLiw-FEkz+ReL52tuHDA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
2013/2/2 <hamann(dot)w(at)t-online(dot)de>:
> Pavel Stehule wrote:
>
>>>
>>> but maybe https://github.com/dimitri/prefix can help
>>>
>
> Hi Pavel,
>
> thanks - this works perfect. However, it does not seem to play well
> with the optimizer, so I ended up with
>
> select all candidates into a temp table using prefix operator
> apply all other conditions by joining that temp table to original ones
>
you can send proposals to enhancing to Dimitry - He will be happy :)
Regards
Pavel
> Regards
> Wolfgang
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Pavel Stehule | 2013-02-02 10:11:18 | Re: Optimizing query? |
| Previous Message | hamann.w | 2013-02-02 09:17:08 | Re: Optimizing query? |