From: | Melvin Davidson <melvin6925(at)gmail(dot)com> |
---|---|
To: | Aldrin Martoq Ahumada <aldrin(dot)martoq(at)gmail(dot)com> |
Cc: | Andre Oliveira Freitas <afreitas(at)callixbrasil(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, matt(dot)figg(at)internode(dot)on(dot)net |
Subject: | Re: Postgresql upgrade to 9.5.12/10.3 changes pg_dump format for cloning schemas |
Date: | 2018-03-13 22:37:45 |
Message-ID: | CANu8Fix7LiJdiLrBmdGZyfuuD+HV=tRj3-D+8Gb-AVK0Cs3GWw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Mar 13, 2018 at 1:47 PM, Melvin Davidson <melvin6925(at)gmail(dot)com>
wrote:
>
>
>
>> Thank you Melvin, I forgot to mention I've already found your script
>> before I asked here, but I didn’t think it was robust enough (please don't
>> offend :-). Particularly, it didn't work well on PostgreSQL 10.
>>
>>
> Aldrin,
>
> I apologize. I just tested and found that the reason it is failing is
> because, once again, the catalogs have been changed. In this case the
> structure of sequences.
> I am trying to find a workaround. I will get back to you when I do.
>
>
> --
> *Melvin Davidson*
> *Maj. Database & Exploration Specialist*
> *Universe Exploration Command – UXC*
> Employment by invitation only!
>
*Aldrin,*
*I've solved the problem with the sequences. *
*The attached clone_schema_10.sql has been tested on my system and now
works. *
*Let me know if you find any bugs. As you also said it is not robust
enough, Please also let me know what additional features you think it
needs.*
--
*Melvin Davidson*
*Maj. Database & Exploration Specialist*
*Universe Exploration Command – UXC*
Employment by invitation only!
Attachment | Content-Type | Size |
---|---|---|
clone_schema_10.sql | text/plain | 13.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2018-03-13 23:10:18 | Re: Reindex doesn't eliminate bloat |
Previous Message | Peter Eisentraut | 2018-03-13 22:28:35 | Re: query_to_xml() returns invalid XML when query returns no rows |