Re: how to call a function with row-type arg - Mailing list pgsql-sql

From Richard Hall
Subject Re: how to call a function with row-type arg
Date
Msg-id 3F61CBBD.77B7EC68@micropat.com
Whole thread Raw
In response to how to call a function with row-type arg  (sad <sad@bankir.ru>)
List pgsql-sql
<tt>DECLARE</tt><br /><tt>    I INTEGER;</tt><br /><tt>BEGIN</tt><br /><tt>    SELECT *</tt><br /><tt>      INTO
I</tt><br/><tt>      FROM foo( <</tt>tablename><tt> )</tt><p>That part is easy, but I don't understand what you
areusing as a function parameter. <p>Rick <p>sad wrote: <blockquote type="CITE">hi <br /> how to call a function with a
row_typearg ?? <br /> that is the question <p>CREATE FUNCTION foo(tablename) returns int ..... <p>SELECT foo ( ???????
);<p>---------------------------(end of broadcast)--------------------------- <br />TIP 7: don't forget to increase
yourfree space map settings</blockquote> 

pgsql-sql by date:

Previous
From: "Richard Huxton"
Date:
Subject: Re: How do I replace select ... into commands?
Next
From: "vijaykumar M"
Date:
Subject: createlang plpgsql failing on redhatlinux7.2