Composite Types and Function Parameters - Mailing list pgsql-hackers

From Greg
Subject Composite Types and Function Parameters
Date
Msg-id 438246.84032.qm@web29703.mail.ird.yahoo.com
Whole thread Raw
Responses Re: Composite Types and Function Parameters
List pgsql-hackers
<table border="0" cellpadding="0" cellspacing="0"><tr><td style="font: inherit;" valign="top">Hi guys, got across an
interestingproblem of passing params to a function in postgre: is it possible to pass a composite parameter to a
functionwithout declaring a type first? <br /><br />For example:<br /><br />// declare a function<br />create function
TEST( object??? )<br />   ....<br />   object???.paramName    // using parameter<br />   ....<br /><br />// calling<br
/>performTEST( ROW(string, int, bool, etc...) )<br /><br />Or do I have to do the type declaration for that
parameter?<br/><br />Thanks!<br /></td></tr></table><br /> 

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: add label to enum syntax
Next
From: Robert Haas
Date:
Subject: Re: add label to enum syntax