Re: pg_restore schema dump to schema with different name

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Nagaraj Raj <nagaraj(dot)sf(at)yahoo(dot)com>, "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>, Jean-Christophe Boggio <postgresql(at)thefreecat(dot)org>
Subject: Re: pg_restore schema dump to schema with different name
Date: 2021-08-24 09:53:42
Message-ID: 77cf846793c480f6d3e4dd49a94b8544553a971a.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, 2021-08-23 at 17:54 +0000, Nagaraj Raj wrote:
> Wouldn’t be easy if we have option to_schema ?

Sure, but it wouldn't be easy to implement that.
It would have to be a part of "pg_dump".

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message David G. Johnston 2021-08-24 14:55:46 Re: pg_restore schema dump to schema with different name
Previous Message Justin Pryzby 2021-08-24 01:38:19 Re: Postgres using the wrong index index