Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 5798B6327B9 for ; Wed, 17 Feb 2010 11:33:57 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 03972-03 for ; Wed, 17 Feb 2010 15:33:37 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mail.postgresql.org (Postfix) with ESMTP id 452766323D3 for ; Wed, 17 Feb 2010 11:33:46 -0400 (AST) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o1HFXBiG095701; Wed, 17 Feb 2010 17:33:11 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o1HFXAkU095700; Wed, 17 Feb 2010 17:33:10 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: pgsql-sql@postgresql.org Subject: Re: very frustrating feature-bug Date: Wed, 17 Feb 2010 17:33:09 +0200 User-Agent: KMail/1.9.7 Cc: Tom Lane , silly sad References: <4B7B98AF.9050202@bankir.ru> <4B7BD441.1080201@bankir.ru> <25584.1266420431@sss.pgh.pa.us> In-Reply-To: <25584.1266420431@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201002171733.10544.achill@matrix.gatewaynet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.39 tagged_above=-10 required=5 tests=AWL=0.209, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201002/68 X-Sequence-Number: 33667 =D3=F4=E9=F2 Wednesday 17 February 2010 17:27:11 =EF/=E7 Tom Lane =DD=E3=F1= =E1=F8=E5: > silly sad writes: > > may i ask? when this feature will be fixed? > > (now i am using 8.3.9) >=20 > The example works fine for me in 8.4. Same for me, postgres@smadevnew:~> postgres@smadevnew:~> psql psql (8.4.1) Type "help" for help. dynacom=3D# CREATE OR REPLACE FUNCTION add_user (TEXT, TEXT, TEXT, TEXT) dynacom-# RETURNS usr AS $$ dynacom$# INSERT INTO usr (login,pass,name,email) VALUES ($1,$2,$3,$4) dynacom$# RETURNING usr.*; dynacom$# $$ LANGUAGE sql SECURITY DEFINER; CREATE FUNCTION dynacom=3D# dynacom=3D# >=20 > regards, tom lane >=20 =2D-=20 Achilleas Mantzios