From: Daniel Schuchardt <daniel_schuchardt@web.de>
To: pgsql-performance@postgresql.org
Subject: Re: cpu_tuple_cost
Date: Fri, 11 Mar 2005 15:27:46 +0100
Message-ID: <d0s9sg$1da1$2@news.hub.org> (raw)
In-Reply-To: <d0s9o7$1da1$1@news.hub.org>
References: <d0s9o7$1da1$1@news.hub.org>
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;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: daniel_schuchardt@web.de
Subject: Re: cpu_tuple_cost
In-Reply-To: <d0s9sg$1da1$2@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox