Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apgdiff2.4 is not working for me #298

Open
YajunJohnsonTR opened this issue Jul 11, 2024 · 5 comments
Open

apgdiff2.4 is not working for me #298

YajunJohnsonTR opened this issue Jul 11, 2024 · 5 comments

Comments

@YajunJohnsonTR
Copy link

it does not seem the apgdiff is working for me - the 2 dump files are create
I extract the apgdiff2.4 to my folder and run the command from that folder
see exception

java -jar apgdiff-2.4.jar wfilingsmetadoc0_1.sql wfilingsmetadoc0_2.sql

EAD+0161935@TR-6RVX4Y3 MINGW64 ~/apgdiff24/apgdiff-2.4
$ java -jar apgdiff-2.4.jar wfilingsmetadoc0_1.sql wfilingsmetadoc0_2.sql
Exception in thread "main" java.lang.RuntimeException: Cannot find ending semicolon of statement: CREATE FUNCTION wfilingsmetadoc0."sidetab_del_t$cms_content"() RETURNS trigger
LANGUAGE plpgsql
AS $$
BEGIN
DELETE FROM wfilingsmetadoc0.cms_multiple
WHERE old.root_id = wfilingsmetadoc0.cms_multiple.root_id;
RETURN OLD;
END;
$$;

@YajunJohnsonTR
Copy link
Author

maybe I am not doing this right.
even compare 2 identical dump files still getting errors
java -jar apgdiff-2.4.jar wfilingsmetadoc0_1.sql wfilingsmetadoc0_1.sql
Exception in thread "main" java.lang.RuntimeException: Cannot find ending semicolon of statement: CREATE FUNCTION wfilingsmetadoc0."sidetab_del_t$cms_content"() RETURNS trigger

@fordfrog
Copy link
Owner

@YajunJohnsonTR i suggest you first try the latest apgdiff.

@YajunJohnsonTR
Copy link
Author

YajunJohnsonTR commented Jul 11, 2024 via email

@fordfrog
Copy link
Owner

fordfrog commented Jul 11, 2024

@YajunJohnsonTR
Copy link
Author

YajunJohnsonTR commented Jul 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants