Re: Postgresql upgrade to 9.5.12/10.3 changes pg_dump format for cloning schemas

2018-03-13 Thread Aldrin Martoq Ahumada
> On Mar 9, 2018, at 12:15 PM, Melvin Davidson wrote: > On Fri, Mar 9, 2018 at 10:00 AM, Aldrin Martoq Ahumada > mailto:aldrin.mar...@gmail.com>> wrote: > Yes, here is the issue: https://github.com/influitive/apartment/issues/532 > <https://github.com/influitive/ap

Re: Postgresql upgrade to 9.5.12/10.3 changes pg_dump format for cloning schemas

2018-03-09 Thread Aldrin Martoq Ahumada
in the script. Cheers, > On Mar 9, 2018, at 11:51 AM, Andre Oliveira Freitas > wrote: > > Hello Aldrin, > > I'm also using apartment with postgresql 9.6.6, and I don't see any > issue with it. Are you using Apartment::Tenant.create? > > 2018-03-09 10

Postgresql upgrade to 9.5.12/10.3 changes pg_dump format for cloning schemas

2018-03-09 Thread Aldrin Martoq Ahumada
Hi, For a multi tenant system, we are using the following command to blindly clone a schema into another: pg_dump -s -x -O -n #{default_tenant} #{dbname} This is done for us by a rails gem, which then feeds that script into the new created schema for the new tenant. https://github.com/influiti