Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fCTFv-0005tq-Uw for pgsql-general@arkaria.postgresql.org; Sat, 28 Apr 2018 17:03:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fCTFu-0001f2-PH for pgsql-general@arkaria.postgresql.org; Sat, 28 Apr 2018 17:03:26 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fCTFu-0001er-DX for pgsql-general@lists.postgresql.org; Sat, 28 Apr 2018 17:03:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fCTFr-0005ZG-Qk for pgsql-general@postgresql.org; Sat, 28 Apr 2018 17:03:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w3SH3LxK015429; Sat, 28 Apr 2018 13:03:21 -0400 From: Tom Lane To: Jeremy Finzel cc: Postgres General Subject: Re: Query function arg data types ONLY (no arg names) In-reply-to: References: Comments: In-reply-to Jeremy Finzel message dated "Sat, 28 Apr 2018 11:52:03 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <15427.1524935001.1@sss.pgh.pa.us> Date: Sat, 28 Apr 2018 13:03:21 -0400 Message-ID: <15428.1524935001@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jeremy Finzel writes: > It appears that neither pg_get_function_arguments > nor pg_get_function_identity_arguments could be used for this. I want to > get function argument data types from the catalog by ordinal position, > without the argument name. Something involving pg_proc.proargtypes::regtype[] might be useful. regards, tom lane