Re: Function with record type as argument

From: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Function with record type as argument
Date: 2005-02-22 15:44:40
Message-ID: A9F974AA-84E8-11D9-A6C7-000D933565E8@mail.nih.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)mail(dot)nih(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2005-02-22 16:03:38 Re: Function with record type as argument
Previous Message john-paul delaney 2005-02-22 15:26:16 Re: Query combination query. (fwd)