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 __________________________________________________________________
> I need to retreive full set of info about argument and return types (for > variable length too). test_db=>\df+ my_func will serve your need :( > How I can get it from system catalog ? pg_proc.pronargs -- count of arguments pg_proc.proargtypes -- oid(s) of pg_type for appropriate arguments regards, bhuvaneswaran
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера