Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 70D416345E5 for ; Thu, 29 Oct 2009 14:20:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 28479-05 for ; Thu, 29 Oct 2009 17:20:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mail.postgresql.org (Postfix) with ESMTP id 88F65634107 for ; Thu, 29 Oct 2009 14:20:45 -0300 (ADT) Received: from list by lo.gmane.org with local (Exim 4.50) id 1N3Yfz-0001Aq-6v for pgsql-sql@postgresql.org; Thu, 29 Oct 2009 18:20:43 +0100 Received: from 217.110.94.67 ([217.110.94.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Oct 2009 18:20:43 +0100 Received: from spam_eater by 217.110.94.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Oct 2009 18:20:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-sql@postgresql.org From: Thomas Kellerer Subject: Re: Using information_schema to find about function parameters? Date: Thu, 29 Oct 2009 18:20:27 +0100 Lines: 11 Message-ID: References: <4AE9C81E.2080906@megafon.hr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217.110.94.67 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 In-Reply-To: <4AE9C81E.2080906@megafon.hr> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.272 tagged_above=-10 required=5 tests=AWL=0.260, BAYES_00=-2.599, RCVD_NUMERIC_HELO=2.067 X-Spam-Level: X-Archive-Number: 200910/136 X-Sequence-Number: 33335 Mario Splivalo, 29.10.2009 17:51: > I looked at the information_schema.routines, to get information about > the functions in the database, but there doesn't seem to be a way to > extract the parameters information about functions? Where would I seek > for such information? They are stored as an array in pg_proc (proargnames, proallargtypes) http://www.postgresql.org/docs/current/static/catalog-pg-proc.html Thomas