apgdiff icon indicating copy to clipboard operation
apgdiff copied to clipboard

Add option to use schema names in the actual queries instead of search_path changes

Open ThiefMaster opened this issue 9 years ago • 8 comments

e.g. DROP TABLE foo.bar instead of setting the search path to foo and then DROP TABLE bar.

ThiefMaster avatar Oct 26 '15 10:10 ThiefMaster

Since postgres 9.6.8 and 10.3 , pg_dump outputs fully qualified names instead of setting search_path. So a feature like this is needed in order to be compatible with the latest postgres versions.

ArtursL avatar Mar 05 '18 16:03 ArtursL

The schema qualified part is already implemented here: https://github.com/ellmkay/apgdiff

ellmkay avatar Jul 07 '18 04:07 ellmkay

I also solved the issue with a much newer fork: https://github.com/jonnio/apgdiff

jonnio avatar Jul 07 '18 17:07 jonnio

@jonnio Does your fork solve the PostgreSQL 10 sequence issue #225 ?

jflambert avatar Jul 10 '18 13:07 jflambert

Hello! Where did I download the latest * .jar with implementations that are running PostgreSQL 10? I tried to use the release version apgdiff 2.5.0-alpha.2, but is generating errors, as issue # 239 opened 10 days ago by me. Thank you.

elidorio avatar Jul 10 '18 22:07 elidorio

Yes, I believe so. The test case works!

Jon Osborn

Bell Tracy, Ltd.

http://www.belltracy.com

From: jflambert [email protected] Reply-To: fordfrog/apgdiff [email protected] Date: Tuesday, July 10, 2018 at 9:16 AM To: fordfrog/apgdiff [email protected] Cc: Jon Osborn [email protected], Mention [email protected] Subject: Re: [fordfrog/apgdiff] Add option to use schema names in the actual queries instead of search_path changes (#173)

@jonnio Does your fork solve the PostgreSQL 10 sequence issue #225 ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

jonnio avatar Jul 16 '18 23:07 jonnio

I built from my fork and ran against latest postgres instances that previously failed. Works great.

jonnio avatar Jul 16 '18 23:07 jonnio

Excuse me, Can you pass me the path of the compiled jar of your fork?

elidorio avatar Jul 17 '18 01:07 elidorio