Venkateswara Rao Bondada, 11.12.2009 10:58:
> I’m trying to look at the source code of a function in PostgreSQL. Could
> anybody please let me know how to view the same?
>
select pg_catalog.pg_get_functiondef(oid)
from pg_proc
http://www.postgresql.org/docs/current/static/functions-info.html
As an alternative use a GUI tool that does this for you
http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools
Thomas