pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: alla@sergey.com
To: pgsql-sql@postgresql.org
Subject: rowtype and ecpg
Date: 20 Jun 2002 10:15:53 -0700
Message-ID: <9275d56e.0206200915.988c67d@posting.google.com> (raw)

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



view thread (3+ messages)  latest in thread

Message-ID: <9275d56e.0206200915.988c67d@posting.google.com>
Permalink:  ../9275d56e.0206200915.988c67d@posting.google.com/
Also on:    postgresql.org/message-id/9275d56e.0206200915.988c67d@posting.google.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: alla@sergey.com
  Subject: Re: rowtype and ecpg
  In-Reply-To: <9275d56e.0206200915.988c67d@posting.google.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox