Re: Return value (instead of reference) for user defined

From: Don Y <pgsql(at)DakotaCom(dot)Net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Return value (instead of reference) for user defined
Date: 2006-05-02 18:14:48
Message-ID: 4457A198.80904@DakotaCom.Net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Don Y <pgsql(at)DakotaCom(dot)Net> writes:
>> Nearest I can tell, the problem is related to my attempt to
>> return an int "by value"
>
> If that's what you intend, try cluing in CREATE TYPE (see
> PASSEDBYVALUE).

Thanks! That did the trick!
--don

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matthew T. O'Connor 2006-05-02 18:20:03 8.1.4 anytime soon?
Previous Message Don Y 2006-05-02 18:13:31 Re: PG_RETURN_?