X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 84CC3D1B527 for ; Wed, 1 Oct 2003 05:50:07 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 52568-02 for ; Wed, 1 Oct 2003 02:49:21 -0300 (ADT) Received: from al-aqsho.rspj.local (unknown [61.94.112.159]) by svr1.postgresql.org (Postfix) with ESMTP id 6E285D1B4E3 for ; Wed, 1 Oct 2003 02:48:59 -0300 (ADT) Received: from works220 (unknown [192.168.1.220]) by al-aqsho.rspj.local (Postfix) with ESMTP id 5575A1B585 for ; Wed, 1 Oct 2003 05:47:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" From: Eko Pranoto Reply-To: koprahome@telkom.net Organization: WEPEKA IT 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 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200310011254.50537.koprapostgres@telkom.net> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/2 X-Sequence-Number: 10563 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 typ= es You may need to add explicit typecasts -----------------FUNCTION------start------------- CREATE FUNCTION "set_waktu" ()=20 RETURNS timestamp without time zone AS 'set datestyle to ''european'';=20 set datestyle to ''sql''; select datetime(now()) as result' LANGUAGE 'sql'; ---------------FUNCTION--------end-------------