Re: immutable functions vs. join for lookups ? - Mailing list pgsql-performance

From Enrico Weigelt
Subject Re: immutable functions vs. join for lookups ?
Date
Msg-id 20050421192357.GC16548@nibiru.borg.metux.de
Whole thread Raw
In response to Re: immutable functions vs. join for lookups ?  (Tom Lane)
Responses Re: immutable functions vs. join for lookups ?  (Dawid Kuroczko)
List pgsql-performance
* Tom Lane <> 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:     
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------

pgsql-performance by date:

Previous
From: Darcy Buskermolen
Date:
Subject: Re: index not used
Next
From: Dave Chapeskie
Date:
Subject: Re: Index bloat problem?