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

From Carlos Correia
Subject Re: Record as a parameter to a function
Date
Msg-id 4268621F.1010403@m16e.com
Whole thread Raw
In response to Re: Record as a parameter to a function  (Michael Fuhr <mike@fuhr.org>)
Responses Re: Record as a parameter to a function
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

Carlos
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCaGIe90uzwjA1SJURAth1AJwJwKTO2kEQXCDAEtgHo8HsbhhU7wCfUCmh
FsjjfW9J8plrHc1oT8JsCwA=
=KFaE
-----END PGP SIGNATURE-----

pgsql-general by date:

Previous
From: John Browne
Date:
Subject: Table modifications with dependent views - best practices?
Next
From: Michael Fuhr
Date:
Subject: Re: timezone() with timeofday() converts the wrong direction?