From: | Kevin Brannen <KBrannen(at)efji(dot)com> |
---|---|
To: | "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
Subject: | RE: dumping only table definitions |
Date: | 2018-06-29 22:56:10 |
Message-ID: | SN1PR19MB02553982176C7BEC615B5404A44E0@SN1PR19MB0255.namprd19.prod.outlook.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Jun 29, 2018 at 6:30 PM, Kevin Brannen <KBrannen(at)efji(dot)com<mailto:KBrannen(at)efji(dot)com>> wrote:
I’m trying to figure out how to dump only the table definitions, well those and things they need directly, like sequences & types. What I do NOT want are all the millions (not literally but it feels like it ☺) of functions we have. Triggers would be all right if I must, as we only have a few of those.
Melvin wrote:
> > What I do NOT want are all the millions (not literally but it feels like it ☺) of functions we have.
> It sounds like you would best be served by installing pg_extractor. In essence, it is a super flexible version of pg_dump. You have your choice of exactly what you want to dump.
> https://github.com/omniti-labs/pg_extractor
Thanks Melvin, that looks like it would do what I want. If it doesn’t, I’ll try Alvaro’s and Tom’s suggestions.
Kevin
This e-mail transmission, and any documents, files or previous e-mail messages attached to it, may contain confidential information. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, distribution, review, copy or use of any of the information contained in or attached to this message is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify us by reply e-mail, and destroy the original transmission and its attachments without reading them or saving them to disk. Thank you.
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Janes | 2018-06-30 00:48:17 | Re: About "Cost-based Vacuum Delay" |
Previous Message | Melvin Davidson | 2018-06-29 22:44:25 | Re: dumping only table definitions |