Skip site navigation (1) Skip section navigation (2)

Re: BUG #5611: SQL Function STABLE promoting to VOLATILE

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Brian Ceccarelli <bceccarelli(at)net32(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #5611: SQL Function STABLE promoting to VOLATILE
Date: 2010-08-11 21:25:11
Message-ID: 1281561831-sup-5990@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-bugs
Excerpts from Brian Ceccarelli's message of mié ago 11 16:47:50 -0400 2010:

> Please show me an example where an inline query gets a performance boost.

The reason it's a performance boost is that the query gets to be planned
as a single query, instead of there being a black-box that needs to be
planned separately.  I don't have any example handy to share.

-- 
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

pgsql-bugs by date

Next:From: Robert HaasDate: 2010-08-11 21:49:51
Subject: Re: BUG #5611: SQL Function STABLE promoting to VOLATILE
Previous:From: Tom LaneDate: 2010-08-11 21:12:55
Subject: Re: BUG #5611: SQL Function STABLE promoting to VOLATILE

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group