Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cmd to list functions

Status
Not open for further replies.

djam

Technical User
Nov 15, 2002
223
CA
hi, what is the cmd to list all the functions that I have? and also to view what the actual function is?

thanks " ahhh computers, how they made our lives much simpler ;) "
 
[tt]\df[/tt] in psql will show you all the functions, including system functions.

You can select from the [tt]pg_proc[/tt] system table to get more information about functions, including source.

[tt]SELECT prosrc FROM pg_proc WHERE proname='myfunction';[/tt]
 
if you are using the console

type \?
that will list you all the options for functions,tables,views etc

otherwise try phpPgAdmin
they will give you a big link from where you can view functions
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top