Copy Schema - Mailing list pgsql-novice

From Derrick Betts
Subject Copy Schema
Date
Msg-id 061701c6b204$04c15430$0202a8c0@main
Whole thread Raw
Responses Re: Copy Schema
List pgsql-novice
Is there a way to create a "template" schema, similar to modifying the template1 to use for new database creation?
 
I'm trying to get consistent tables and all other metadata set in one schema and then use that schema as a template for creating other schemas in the same database as needed.
 
I read that there is a way to restore a schema with pg_restore command.  Is the best or only way to accomplish this?
 
Thank you,
Derrick Betts

pgsql-novice by date:

Previous
From: "Andrew Hammond"
Date:
Subject: Re: query help
Next
From: Michael Glaesemann
Date:
Subject: Re: Copy Schema