Re: How to view the code of a function - Mailing list pgsql-admin

From Thomas Kellerer
Subject Re: How to view the code of a function
Date
Msg-id hft74q$kjv$1@ger.gmane.org
Whole thread Raw
In response to How to view the code of a function  (Venkateswara Rao Bondada <Venkateswara_B@infosys.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Venkateswara Rao Bondada
Date:
Subject: How to view the code of a function
Next
From: Sam Jas
Date:
Subject: Re: How to view the code of a function