Using postgres Version 9.5
I can extract the sql for a table using
pg_dump -d database_name -s -t table_name -f table_name.sql
Is there something equivalent for extracting the sql for a function from the database?
Paul Tilles