Re: pg_restore schema dump to schema with different name

2021-08-24 Thread David G. Johnston
On Mon, Aug 23, 2021 at 2:46 AM Nagaraj Raj wrote: > > Currently this is not something can do. this functionality is there in > oracle. > > Is this future considering to add? (it would really help for create any > test schemas without disturbing current schema. ) > > I find this to be not all th

Re: pg_restore schema dump to schema with different name

2021-08-24 Thread Laurenz Albe
On Mon, 2021-08-23 at 17:54 +, 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