From: Eko Pranoto <koprapostgres@telkom.net>
To: pgsql-admin@postgresql.org
Subject: Upgrade 7.2.1 to 7.3.4 datetime Error
Date: Wed, 1 Oct 2003 12:54:50 +0700
Message-ID: <200310011254.50537.koprapostgres@telkom.net> (raw)
Hey folks..
I have problem when upgrade from 7.2.1 to 7.3.4
with function I create...
How I can fix it ?
Thank you for any suggestion
EKo Pranoto
--------------Message Recieve----------------------
ERROR: Function datetime(timestamp with time zone) does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts
-----------------FUNCTION------start-------------
CREATE FUNCTION "set_waktu" ()
RETURNS timestamp without time zone AS 'set datestyle to ''european'';
set datestyle to ''sql'';
select datetime(now()) as result' LANGUAGE 'sql';
---------------FUNCTION--------end-------------
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: koprapostgres@telkom.net
Subject: Re: Upgrade 7.2.1 to 7.3.4 datetime Error
In-Reply-To: <200310011254.50537.koprapostgres@telkom.net>
References: <200310011254.50537.koprapostgres@telkom.net>
* 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