[SQL] Optimizing query inside a function - Mailing list pgsql-sql

From Oh Hyun-Su
Subject [SQL] Optimizing query inside a function
Date
Msg-id 003e01beb85a$3ce412e0$c8f4b4d2@ws196.rental.co.kr
Whole thread Raw
List pgsql-sql
First of all, sorry for my English. I hope you can understand me. ;)

I made a function using pl/sql. It seems that optimizer doesn't work in the query inside function. Of course, if I
excutethe same query outside function, optimizer works well and uses proper index.
 

Is it true that queries inside a function cannot be optimized? or is there a way I can optimize my query inside a
function?

My pgsql version is 6.4.2.

Thanks in advance!

Hyun-Su Oh


pgsql-sql by date:

Previous
From: "Henry B. Hotz"
Date:
Subject: Re: [HACKERS] Postgres mailing lists
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Postgres mailing lists