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


--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Reply via email to