Matthew Lunnon wrote:
I have a query which runs pretty quick ( 0.82ms) but when I put it inside a stored procedure it takes 10 times as long (11.229ms). Is this what you would expect and is there any way that I can get around this time delay?
It depends. You'll need to show us the function. Also, what version of Postgres are you running?
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com