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 <melvin6...@gmail.com> wrote: > On Fri, Mar 9, 2018 at 10:00 AM, Aldrin Martoq Ahumada > <aldrin.mar...@gmail.com <mailto:aldrin.mar...@gmail.com>> wrote: > Yes, here is the issue: https://github.com/influitive/

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

2018-03-09 Thread Aldrin Martoq Ahumada
trings in the script. Cheers, > On Mar 9, 2018, at 11:51 AM, Andre Oliveira Freitas > <afrei...@callixbrasil.com> 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? > > 2

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.