"Josh Berkus" <josh@agliodbs.com> writes:
> Can either of you supply me with syntax to pg_dump the full function &
> view decarations to a text file?
If you're sure it doesn't require any data, you can do "pg_dump -s dbname"
to get just the database schema. I'd start with that and then trim away
unrelated stuff, if you feel the urge to trim.
regards, tom lane