On Wed, Jan 05, 2005 at 05:04:03AM -0800, Eric Brown wrote:

> I'm trying to write a function that takes a %ROWTYPE as an argument. 

The code you posted works in 8.0.  Here's an item from the 8.0
Release Notes:

* More support for composite types (row and record variables) in PL/pgSQL

  For example, it now works to pass a rowtype variable to another
  function as a single variable.

I don't think you could do this in versions prior to 8.0; see
previous discussion in the list archives.  For example:

http://archives.postgresql.org/pgsql-general/2004-03/msg00862.php

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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to