Possible changes to pg_restore - Mailing list pgsql-hackers

From
Subject Possible changes to pg_restore
Date
Msg-id a03573d674ecd6021d1c9b54bab9c38e@hmallett.co.uk
Whole thread Raw
Responses Re: Possible changes to pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Greg Sabino Mullane recently shared a script to split schema-only dump
files into a table creation file and a trigger/index/constraint file, for
restore performance reasons.
(http://blog.endpoint.com/2010/01/splitting-postgres-pgdump-into-pre-and.html)

Would it be possible and worthwhile to add functionality to pg_restore so
that with one switch triggers/indexes/constraints could be ignored, and
with another switch only triggers/indexes/constraints would be restored?

This would then remove the requirement to split the file.


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: default pg_hba.conf tabulation
Next
From: Robert Haas
Date:
Subject: Re: commit fests