How to print functions and triggers sourcecode in postgresql? please let me know if any one know the query to display the function, triggers source code.

How to print functions and triggers sourcecode in postgresql? please let me know if any one know the query to display the function, triggers source code.