Re: Function with record type as argument - Mailing list pgsql-novice

From Sean Davis
Subject Re: Function with record type as argument
Date
Msg-id A9F974AA-84E8-11D9-A6C7-000D933565E8@mail.nih.gov
Whole thread Raw
In response to Re: Function with record type as argument  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Function with record type as argument
List pgsql-novice
Tom,

Thanks for the reply.  Just for fun, I did create the function in
pl/perlu without difficulty.  However, I can't call it, as record types
do not seem to match any prototyping....

Sean

On Feb 22, 2005, at 10:20 AM, Tom Lane wrote:

> Sean Davis <sdavis2@mail.nih.gov> writes:
>> In a followup to an earlier question from today from another person,
>> is
>> it possible to create and use a function that takes as input a generic
>> "record"?
>
> Not in any of the PL languages.  I think you could do it in C.
>
>             regards, tom lane


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Function with record type as argument
Next
From: Tom Lane
Date:
Subject: Re: Function with record type as argument