Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id D64CC4770A4 for ; Thu, 20 Jun 2002 13:22:10 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 5F2F9475D2E for ; Thu, 20 Jun 2002 13:16:57 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 463AD3819C9; Thu, 20 Jun 2002 13:16:11 -0400 (EDT) From: alla@sergey.com (Alla) X-Newsgroups: comp.databases.postgresql.sql Subject: rowtype and ecpg Date: 20 Jun 2002 10:15:53 -0700 Organization: http://groups.google.com/ Lines: 18 Message-ID: <9275d56e.0206200915.988c67d@posting.google.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-sql@postgresql.org X-Archive-Number: 200206/297 X-Sequence-Number: 8262 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