Re: return %ROWTYPE from function

From: jr <jorg(dot)raskowski(at)tailorware(dot)org(dot)uk>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: return %ROWTYPE from function
Date: 2010-05-24 01:15:25
Message-ID: htck01$15od$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

hi Anton,

works fine if you write:

create or replace function get_rec (in p_id test.id%TYPE) returns test as $$

--

regards, jr. (jr(at)tailorware(dot)org(dot)uk)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Louis-David Mitterrand 2010-05-24 08:51:09 safely exchanging primary keys?
Previous Message Anton Prokofiev 2010-05-23 21:42:38 return %ROWTYPE from function