Re: GRANT question - Mailing list pgsql-general

From Michael Fuhr
Subject Re: GRANT question
Date
Msg-id 20051126202303.GA4189@winnie.fuhr.org
Whole thread Raw
In response to Re: GRANT question  (Együd Csaba <csegyud@vnet.hu>)
Responses Re: GRANT question
List pgsql-general
On Sat, Nov 26, 2005 at 09:10:40PM +0100, Egyd Csaba wrote:
> moson.gdb=> \df eden*
>                    List of functions
>  Schema | Name | Result data type | Argument data types
> --------+------+------------------+---------------------
> (0 rows)

Oops, I forgot that \df uses pg_function_is_visible(), so it won't
show functions that aren't in your search path.  Try this:

SELECT oid::regprocedure FROM pg_proc WHERE proname ILIKE '%eden%';

or

SELECT n.nspname, p.proname, oidvectortypes(p.proargtypes)
FROM pg_proc AS p
LEFT OUTER JOIN pg_namespace AS n ON n.oid = p.pronamespace
WHERE p.proname ILIKE '%eden%';

--
Michael Fuhr

pgsql-general by date:

Previous
From: Együd Csaba
Date:
Subject: Re: GRANT question
Next
From: Együd Csaba (Freemail)
Date:
Subject: FW: GRANT question