Skip site navigation (1) Skip section navigation (2)

How can I retrieve an info about function arguments ?

From: "Zuev Dmitry" <envoy1(at)chat(dot)ru>
To: pgsql-admin(at)postgresql(dot)org
Subject: How can I retrieve an info about function arguments ?
Date: 2002-10-24 11:36:56
Message-ID: ap8m1e$18u$ (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
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


pgsql-admin by date

Next:From: Patrick MeylemansDate: 2002-10-24 12:36:57
Subject: Errors in messages file
Previous:From: John DoeDate: 2002-10-24 10:56:44
Subject: postgresql 7.2.1 and smp ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group