Re: Performance of pl/pgsql functions?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Performance of pl/pgsql functions?
Date: 2012-09-14 06:28:53
Message-ID: 5052CEA5.5040305@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/13/12 10:17 PM, Wells Oliver wrote:
> Do these tend to perform well? I have some simple formulas in
> functions like so:

if you code your function in SQL instead of plpgsql, and mark it
immutable, it can be inlined by the planner.

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2012-09-14 06:47:29 Re: Performance of pl/pgsql functions?
Previous Message Johan Nel 2012-09-14 06:17:56 Re: Best free tool for relationship extraction