Re: cpu_tuple_cost

From: Daniel Schuchardt <daniel_schuchardt(at)web(dot)de>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: cpu_tuple_cost
Date: 2005-03-11 14:27:46
Message-ID: d0s9sg$1da1$2@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I have forgotten this :

CREATE OR REPLACE FUNCTION date_to_yearmonth_dec(TIMESTAMP) RETURNS
VARCHAR AS'
BEGIN
RETURN extract(year FROM $1) || extract(month FROM $1)-1;
END'LANGUAGE plpgsql IMMUTABLE;

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message John A Meinel 2005-03-11 14:43:45 Re: What is the number of rows in explain?
Previous Message Daniel Schuchardt 2005-03-11 14:25:29 cpu_tuple_cost