Re: Query function arg data types ONLY (no arg names)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeremy Finzel <finzelj(at)gmail(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Query function arg data types ONLY (no arg names)
Date: 2018-04-28 17:03:21
Message-ID: 15428.1524935001@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jeremy Finzel <finzelj(at)gmail(dot)com> 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jonas Pedersen 2018-04-28 17:36:04 downgrade postgis 2.4.3 to 2.4.1
Previous Message Pavel Stehule 2018-04-28 17:00:36 Re: Query function arg data types ONLY (no arg names)