| From: | Enrico Weigelt <weigelt(at)metux(dot)de> |
|---|---|
| To: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: immutable functions vs. join for lookups ? |
| Date: | 2005-04-21 19:23:58 |
| Message-ID: | 20050421192357.GC16548@nibiru.borg.metux.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
* Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
<snip>
> Yeah, I was actually thinking about a two-step process: inline the
> function to produce somethig equivalent to a handwritten scalar
> sub-SELECT, and then try to convert sub-SELECTs into joins.
... back to my original question ...
What kind of query should I use ?
Is a join better than a function ?
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact(at)metux(dot)de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Chapeskie | 2005-04-21 19:33:05 | Re: Index bloat problem? |
| Previous Message | Darcy Buskermolen | 2005-04-21 19:23:52 | Re: index not used |