| From: | Steve Crawford <scrawford(at)pinpointresearch(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Dumping functions |
| Date: | 2006-02-28 01:27:14 |
| Message-ID: | 4403A6F2.5020709@pinpointresearch.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
How can I dump a function definition with pg_dump?
Background: We often need to create objects that are all relevant to
only a specific project. Sometimes it is a single table. Other times
there are many tables, indexes, views, rules, triggers and functions.
All the objects share a unique substring that identifies the project so
automatically creating the list is easy.
When I use pg_dump to dump a table I will by default also get the
associated indexes, rules and triggers. Views can be dumped just like
tables. So all I need to do to archive the whole mess is to automate the
dump of the functions.
Ideas?
Cheers,
Steve
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kris Jurka | 2006-02-28 01:39:23 | Re: postgresql documentation |
| Previous Message | Marc G. Fournier | 2006-02-28 00:36:17 | In case nobody has seen this survey from Sun ... |