Re: cost variable into function

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: "Alain Roger" <raf(dot)news(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: cost variable into function
Date: 2008-10-19 14:18:36
Message-ID: 2f4958ff0810190718h37ce4a7dyb70618fa043919bf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

that's for planner to know. You can estimate cost in there, of that
procedure. I usually use select * from something limit 1 times number of
rows that procedure returns on average. But I am sure, some more smart
people here would have different ways to set it.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2008-10-19 14:19:42 Re: cost variable into function
Previous Message Alain Roger 2008-10-19 14:03:47 cost variable into function