Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 959C54760AB for ; Thu, 24 Oct 2002 07:37:44 -0400 (EDT) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 25EC9476058 for ; Thu, 24 Oct 2002 07:37:44 -0400 (EDT) Received: by news.hub.org (Postfix, from userid 8) id 61E9C382433; Thu, 24 Oct 2002 07:37:42 -0400 (EDT) From: "Zuev Dmitry" X-Newsgroups: comp.databases.postgresql.admin Subject: How can I retrieve an info about function arguments ? Date: Thu, 24 Oct 2002 18:36:56 +0700 Organization: Rinet Corp. News Service, Novosibirsk, Russia Lines: 15 Message-ID: X-Complaints-To: abuse@news.nsk.su X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/239 X-Sequence-Number: 6097 Hello All Consider a function: create function f(varchar(10), decimal(10,1)) returns integer as 'select 1;' language sql; I need to retreive full set of info about argument and return types (for variable length too). How I can get it from system catalog ? For tables columns I can gen an info from pg_attribute table. But in case of function no entry are present there. pg_proc has no info about length of variable length types __________________________________________________________________ Dmitry Vitalievitch ICQ#: 11000008 Current ICQ status: + More ways to contact me __________________________________________________________________