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

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

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).

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2006-05-02 08:16:04 Re: PG_RETURN_?
Previous Message Noel Faux 2006-05-02 07:03:09 Re: How to join to delete