[SQL] Optimizing query inside a function

Поиск
Список
Период
Сортировка
От Oh Hyun-Su
Тема [SQL] Optimizing query inside a function
Дата
Msg-id 003e01beb85a$3ce412e0$c8f4b4d2@ws196.rental.co.kr
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Henry B. Hotz"
Дата:
Сообщение: Re: [HACKERS] Postgres mailing lists
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Postgres mailing lists