Re:

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: rwell <rwell(at)sinaman(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re:
Date: 2001-05-23 19:33:38
Message-ID: 16621.990646418@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"=?big5?B?cndlbGw=?=" <rwell(at)sinaman(dot)com> writes:
> How can I return RECORD in my function as I get this msg

You can't. The return type of the function has to be declared as
a real datatype (say, the row datatype of the table in question).
"RECORD" is just a convenient placeholder within plpgsql.

regards, tom lane

In response to

  • at 2001-05-23 08:49:00 from rwell

Browse pgsql-general by date

  From Date Subject
Next Message Chris Jones 2001-05-23 19:36:59 Re: Re: ZeroFill(.../pg_xlog/xlogtemp.20148) failed: No such file or directory
Previous Message Björn Lundin 2001-05-23 19:26:54 RE: Autocommit off in psql??