user defined function
user defined function
От:
"etsuko shimabukuro" <etsukos@meta-bit.com>
Дата:
Does anyone know how to check the existance of user defined functions ? "\df" command lists all postgre built-in functions. How can we filter out only user defined ones ? ---------------------------------- Etsuko Shimabukuro etsukos@meta-bit.com ----------------------------------
Re: user defined function
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"etsuko shimabukuro" writes: > Does anyone know how to check the existance of user defined functions ? > "\df" command lists all postgre built-in functions. > How can we filter out only user defined ones ? As of 7.3 you can restrict \df to particular schemas, eg \df public.* to see only functions defined in the "public" schema. If you don't like that answer, issue your own query and add a check on the ownership of the function --- try psql -E to see what its query looks like. regards, tom lane