pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Francisco Reyes <lists@stringsutils.com>
To: Christophe Dore <c.dore@castsoftware.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore : change schema
Date: Thu, 01 Apr 2010 11:06:43 -0400
Message-ID: <cone.1270134403.614462.18171.1000@shelca> (raw)
References: <30B673D7B5844B4394E188D9FFAEF0990160F94B@mx01.corp.castsoftware.com>

Christophe Dore writes:

> Imagine I have used pg_dump to backup a given single schema.
> Is there any feature in pg_restore (8.4) that would allow to restore this 
> schema in a schema with another name ?


I think there isn't. If the pg_dump is ASCII and the file is small enough 
you could edit it.



view thread (4+ messages)  latest in thread

Message-ID: <cone.1270134403.614462.18171.1000@shelca>
Permalink:  ../cone.1270134403.614462.18171.1000@shelca/
Also on:    postgresql.org/message-id/cone.1270134403.614462.18171.1000@shelca

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: lists@stringsutils.com, c.dore@castsoftware.com
  Subject: Re: pg_restore : change schema
  In-Reply-To: <cone.1270134403.614462.18171.1000@shelca>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox