Source of User Defined functions. - Mailing list pgsql-admin

From Saii
Subject Source of User Defined functions.
Date
Msg-id a4213bce0809091349k4f4c8c68ic2d05d3792e443d9@mail.gmail.com
Whole thread Raw
Responses Re: Source of User Defined functions.  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-admin
Hello,

  I have a questions regarding the location of source code of user defined functions in Postgres. I used the following query to get all function names but I
  do not see the source code of the user defined functions. In the 'prosrc' column, data is available for trigger functions only. Is there any other table/column where function source code can be found?

SELECT p.proname, p.pronargs, t.typname,p.proowner, p.prosrc
  FROM pg_proc p, pg_language l, pg_type t
  WHERE p.prolang = l.oid
    and p.prorettype = t.oid
    and l.lanname in ('sql', 'plpgsql'  )
    and proowner = 964227
  ORDER BY proname;


  Thanks much
  Saii

pgsql-admin by date:

Previous
From: "Kasia Tuszynska"
Date:
Subject: moving tablespaces on windows - is it possible?
Next
From: Alvaro Herrera
Date:
Subject: Re: Source of User Defined functions.