Re: Record as a parameter to a function - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Record as a parameter to a function
Date
Msg-id 20050422111406.GA50123@winnie.fuhr.org
Whole thread Raw
In response to Re: Record as a parameter to a function  (Carlos Correia <carlos@m16e.com>)
Responses Re: Record as a parameter to a function  (Carlos Correia <carlos@m16e.com>)
List pgsql-general
On Fri, Apr 22, 2005 at 03:31:59AM +0100, Carlos Correia wrote:
> Michael Fuhr wrote:
> | On Fri, Apr 22, 2005 at 01:44:24AM +0100, Carlos Correia wrote:
> |
> |>carlos=# insert into test (c1) values( 'test');
> |>ERROR:  NEW used in query that is not in a rule
> |>CONTEXT:  PL/pgSQL function "tftest" line 2 at perform
> |
> | PostgreSQL 8.0 and later have improved support for composite types.
>
> Thanks... but does this means that you can't do that with version 7.4.x?

Not as far as I know, or at least not the same way.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Table modifications with dependent views - best practices?
Next
From: Typing80wpm@aol.com
Date:
Subject: Postgresql Windows ODBC