composite types

Horváth Imre <[email protected]> Sun, 29 Aug 2010 15:09:50 +0200
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
Hi!

How can I use composite type array function parameters with psycopg2?

The situation is:

create type mytype as
(
	i integer;
	t character varying;
);

create function myfunc(in param mytype[]) as
.....

How can I call this function form psycopg2?

Thanks in advance:
Imre Horvath