Re: [GENERAL] oid or schema name of current plpgsql function

2005-04-29 Thread Matko Andjelinic
On Thu, Apr 28, 2005 at 08:51:50PM -0600, Michael Fuhr wrote: > > I'm not aware of a way to get the current function's OID in PL/pgSQL, > but you can do it in C. Yeah, i know that...I was hoping it would be possible from pl/pgsql :-( > Why do you need to know the function's schema? What are you

Re: [GENERAL] oid or schema name of current plpgsql function

2005-04-28 Thread Michael Fuhr
On Thu, Apr 28, 2005 at 10:37:47PM +0200, Matko Andjelinic wrote: > > Is there a way to know the OID of the current plpgsql function from > inside the function? I'm not aware of a way to get the current function's OID in PL/pgSQL, but you can do it in C. > What I really need is to extract the nam

[GENERAL] oid or schema name of current plpgsql function

2005-04-28 Thread Matko Andjelinic
Is there a way to know the OID of the current plpgsql function from inside the function? What I really need is to extract the name of the schema where the function is stored. -- matko ---(end of broadcast)--- TIP 5: Have you checked our extensive