pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig James <craig_james@emolecules.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-performance@postgresql.org
Subject: Re: Does FILTER in SEQSCAN short-circuit AND?
Date: Thu, 27 May 2010 14:44:19 -0700
Message-ID: <4BFEE7B3.7080608@emolecules.com> (raw)
In-Reply-To: <4BFE9DC00200002500031BBC@gw.wicourts.gov>
References: <hsv49v$312j$1@news.hub.org>
	<4BFEE08E.2040804@emolecules.com>
	<4BFE9DC00200002500031BBC@gw.wicourts.gov>

On 5/27/10 2:28 PM, Kevin Grittner wrote:
> Craig James<craig_james@emolecules.com>  wrote:
>
>> It would be nice if Postgres had a way to assign a cost to every
>> function.
>
> The COST clause of CREATE FUNCTION doesn't do what you want?
>
> http://www.postgresql.org/docs/8.4/interactive/sql-createfunction.html

Cool ... I must have missed it when this feature was added.  Nice!

Craig



view thread (6+ messages)

Message-ID: <4BFEE7B3.7080608@emolecules.com>
Permalink:  ../4BFEE7B3.7080608@emolecules.com/
Also on:    postgresql.org/message-id/4BFEE7B3.7080608@emolecules.com

 · 

reply

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-performance@postgresql.org
  Cc: craig_james@emolecules.com, Kevin.Grittner@wicourts.gov
  Subject: Re: Does FILTER in SEQSCAN short-circuit AND?
  In-Reply-To: <4BFEE7B3.7080608@emolecules.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