Re: function definitions

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-www(at)postgresql(dot)org
Cc: "Crystal Whittier" <Crystal(at)eiri(dot)usu(dot)edu>
Subject: Re: function definitions
Date: 2007-02-15 20:46:12
Message-ID: 200702151246.13019.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Crystal,

You should be posting this on pgsql-novice. This mailing list is for
management of the PostgreSQL.org web sites.

> I was wondering if someone can steer me in the right direction. I'm
> trying to retrieve the text of the functions in our database. I've
> searched all over the internet and have not seen a way to do this. It
> seems that in pg_view there is a column called definition, but pg_proc
> has nothing this simple. I've tried looking at pg_dump to see if
> there's a way to use that, but haven't really seen one either. Any
> ideas or things I can try of a different direction I should be looking?

\df+ function_name
in psql

or pg_proc.prosrc

or see the NewSysViews project: www.pgfoundry.org/projects/newsysviews

--
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco

In response to

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2007-02-17 14:27:15 Translations not even working?
Previous Message Crystal Whittier 2007-02-15 17:57:53 function definitions