Re: pg_dump issues

From: Victor Drobny <v(dot)drobny(at)postgrespro(dot)ru>
To: Дмитрий Воронин <carriingfate92(at)yandex(dot)ru>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump issues
Date: 2017-07-25 08:17:23
Message-ID: 32cfe8201654df183579d9e97957dd7b@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> We can't create any schema dump with another (user defined) name. E.g.
> we dump schema test and we want to save it's dump with test2 name in
> any format. Those refers to databases dump.

Hello,

Do you expect to have some flag like '--rename=test->test2'?
Will dump with test replaced by test2(of course only in related places)
be valid dump in this case?
What is the possible scenario for the renaming option? Is it doing to be
dumping of the one schema only?
Or it could be dump of database? In this case pg_dump should also
support multiple rules for renaming.

Thank you for attention!

--
------
Victor Drobny
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

  • pg_dump issues at 2017-06-06 03:37:55 from Дмитрий Воронин

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2017-07-25 08:33:59 Re: [PATCH] Pageinspect - add functions on GIN and GiST indexes from gevel
Previous Message Kyotaro HORIGUCHI 2017-07-25 07:04:38 Re: PgFDW connection invalidation by ALTER SERVER/ALTER USER MAPPING