Re: Error Returned by A Function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Lane Van Ingen" <lvaningen(at)esncc(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Error Returned by A Function
Date: 2006-01-10 16:33:39
Message-ID: 617.1136910819@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Lane Van Ingen" <lvaningen(at)esncc(dot)com> writes:
> CREATE TYPE typ_remote_net AS
> (remote_net varchar);
> ...
> DECLARE
> returnValue typ_remote_net;
> ...
> returnValue := 'none';

Try assigning to returnValue.remote_net, instead.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Fuhr 2006-01-10 16:40:09 Re: Error Returned by A Function
Previous Message Lane Van Ingen 2006-01-10 16:16:05 Re: Error Returned by A Function