rowtype and ecpg

From: alla(at)sergey(dot)com (Alla)
To: pgsql-sql(at)postgresql(dot)org
Subject: rowtype and ecpg
Date: 2002-06-20 17:15:53
Message-ID: 9275d56e.0206200915.988c67d@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I have a function that takes as a parameter ROWTYPE:

create or replace function test_func(test_table)
returns varchar as '
declare
lv_return varchar;
begin
......
return lv_return;
end;
' LANGUAGE 'plpgsql';

How do I call this function from the C program (ecpg)? How my
declaration should look like?

I trued structure and got error: Too many arguments

Thanks for your help

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Agbaglo 2002-06-20 18:55:04 how to sort a birthday list ?
Previous Message Bruce Momjian 2002-06-20 16:10:48 Re: Which one is faster?