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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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