From: Oh Hyun-Su <dogget@rental.co.kr>
To: pgsql-sql@postgreSQL.org
Subject: [SQL] Optimizing query inside a function
Date: Thu, 17 Jun 1999 09:42:11 +0900
Message-ID: <003e01beb85a$3ce412e0$c8f4b4d2@ws196.rental.co.kr> (raw)
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 excute the 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: dogget@rental.co.kr
Subject: Re: [SQL] Optimizing query inside a function
In-Reply-To: <003e01beb85a$3ce412e0$c8f4b4d2@ws196.rental.co.kr>
References: <003e01beb85a$3ce412e0$c8f4b4d2@ws196.rental.co.kr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox