From: Richard Huxton <dev@archonet.com>
To: PgSql General <pgsql-general@postgresql.org>
Subject: Re: [SQL] 'cost' and 'rows' for volitile function
Date: Mon, 08 Jun 2009 18:16:41 +0100
Message-ID: <4A2D4779.9050303@archonet.com> (raw)
In-Reply-To: <4A2D44EB.7030108@archonet.com>
References: <4A2D3B9D.1040909@gmail.com>
<4A2D44EB.7030108@archonet.com>
Old fool that I am - forgot to cc: the list.
Richard Huxton wrote:
> Rob Sargent wrote:
>> pg-admin is showing 'COST 100' and 'ROWS 1000' for my explicitly
>> VOLATILE functions. Is one hundred the new ninety-nine? and therefore
>> these values are ignored by the planner?
>
> No, they're the default expected cost and number of rows returned when
> calling your functions. What do you think VOLATILE should be doing to them?
>
> http://www.postgresql.org/docs/8.3/interactive/sql-createfunction.html
--
Richard Huxton
Archonet Ltd
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dev@archonet.com, pgsql-general@postgresql.org
Subject: Re: [SQL] 'cost' and 'rows' for volitile function
In-Reply-To: <4A2D4779.9050303@archonet.com>
* 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