Re: Exclude pg_largeobject form pg_dump
Andreas Joseph Krogh <andreas@visena.com>
From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-general@postgresql.org
Date: 2016-03-08T16:45:14Z
Lists: pgsql-hackers, pgsql-general
På tirsdag 08. mars 2016 kl. 17:38:04, skrev Joshua D. Drake < jd@commandprompt.com <mailto:jd@commandprompt.com>>: On 03/08/2016 08:02 AM, Andreas Joseph Krogh wrote: > På tirsdag 08. mars 2016 kl. 16:57:01, skrev Tom Lane <tgl@sss.pgh.pa.us > <mailto:tgl@sss.pgh.pa.us>>: > > Andreas Joseph Krogh <andreas@visena.com> writes: > > What I'm looking for is "inverse -b" in an otherwise complete > dump. Any plans > > to add that? > > [ shrug... ] Nobody ever asked for it before. > > regards, tom lane > > It surely helps testing production-datasets which contain lots of BLOBs > where one wants to dump the production-data into a test-env. We have > >1TB databases containing > 95% blobs so it would help us tremendously > to have this option. I have quite a few customers that would benefit from the ability to not have blobs present in dumps. Great! So how do we proceed to get "--no-blobs" added to pg_dump? Maybe CommandPrompt and Visena should co-fund development of such an addition, if it's accepted by -hackers? We'd be willing to pay for such an addition for the 9.5 branch, as a patch. -- Andreas Joseph Krogh CTO / Partner - Visena AS Mobile: +47 909 56 963 andreas@visena.com <mailto:andreas@visena.com> www.visena.com <https://www.visena.com> <https://www.visena.com>
Commits
-
Add --no-blobs option to pg_dump
- 4fafa579b0ab 10.0 landed