Robert Haas <robertmh...@gmail.com> writes:
> One thing I've often wished for is the ability to dump a specific
> function

See getddl from OmniTI, or the alternative version I kept forgetting to
put online somewhere:

  https://labs.omniti.com/labs/pgtreats/wiki/getddl
  https://github.com/dimitri/getddl

The OmniTI version will output a single file with all objects into a
single file, and my fork will do that in a directory structure with a
file per object or about (a single file containing all functions sharing
the same name, e.g.).

Both project goal is to make it easy to version (as in git) your DDL and
check for changes.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to