From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-sql@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: silly sad <sad@bankir.ru>
Subject: Re: very frustrating feature-bug
Date: Wed, 17 Feb 2010 17:33:09 +0200
Message-ID: <201002171733.10544.achill@matrix.gatewaynet.com> (raw)
In-Reply-To: <25584.1266420431@sss.pgh.pa.us>
References: <4B7B98AF.9050202@bankir.ru>
<4B7BD441.1080201@bankir.ru>
<25584.1266420431@sss.pgh.pa.us>
Óôéò Wednesday 17 February 2010 17:27:11 ï/ç Tom Lane Ýãñáøå:
> silly sad <sad@bankir.ru> writes:
> > may i ask? when this feature will be fixed?
> > (now i am using 8.3.9)
>
> 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=# 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=#
dynacom=#
>
> regards, tom lane
>
--
Achilleas Mantzios
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-sql@postgresql.org
Cc: achill@matrix.gatewaynet.com, tgl@sss.pgh.pa.us, sad@bankir.ru
Subject: Re: very frustrating feature-bug
In-Reply-To: <201002171733.10544.achill@matrix.gatewaynet.com>
* 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