pg_restore enhancements - Mailing list pgsql-general

From Efrain J. Berdecia
Subject pg_restore enhancements
Date
Msg-id 362032628.6955904.1700659540303@mail.yahoo.com
Whole thread Raw
Responses Re: pg_restore enhancements  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: pg_restore enhancements  (Adrian Klaver <adrian.klaver@aklaver.com>)
List pgsql-general
After working for a site where we are constantly doing logical pg_dump to refresh environments I've come to miss features available in other RDBMS' refresh/restore utilities.

Someone could point me in the right direction otherwise, but pg_restore seems to be lacking the ability to resume a restore upon failure, is all or nothing with this guy. There also doesn't seem to be a way to control batch size when doing the COPY phase, therefore preventing the WAL directory from filling up and crashing the system.

IMHO, it would be nice to have a feature that would allow pg_restore to resume based on which part of the restore and/or object have already been restored.

When it comes to the COPY phase of the restore, it would be nice to be able to control batch size and resume COPY of a particular object upon failure.

Thanks in advance for any suggestions or the green light to post this to the PG-developer group :-)

Thanks,
Efrain J. Berdecia

pgsql-general by date:

Previous
From: CG
Date:
Subject: Re: Removing oids with pg_repack
Next
From: "David G. Johnston"
Date:
Subject: Re: pg_restore enhancements