Re: How to view the code of a function

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: How to view the code of a function
Date: 2009-12-11 10:32:58
Message-ID: hft74q$kjv$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sam Jas 2009-12-11 10:53:37 Re: How to view the code of a function
Previous Message Venkateswara Rao Bondada 2009-12-11 09:58:08 How to view the code of a function