Re: cpu_tuple_cost - Mailing list pgsql-performance

From Daniel Schuchardt
Subject Re: cpu_tuple_cost
Date
Msg-id d0s9sg$1da1$2@news.hub.org
Whole thread Raw
List 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;

pgsql-performance by date:

Previous
From: "Qingqing Zhou"
Date:
Subject: Re: One tuple per transaction
Next
From: "Alexander Kirpa"
Date:
Subject: Re: Postgres on RAID5