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

regression test failure with recent bison: syntax error, unexpected STRING_P, expecting end of file at or near """ #37

Open
df7cb opened this issue Jul 27, 2020 · 1 comment

Comments

@df7cb
Copy link

@df7cb df7cb commented Jul 27, 2020

With bison 3.7, some error message changed and makes the jsquery regression tests fail:

607--- /tmp/autopkgtest-lxc.qv5k86ce/downtmp/build.QH8/src/expected/jsquery.out	2020-07-27 04:40:49.000000000 +0000
608+++ /tmp/autopkgtest-lxc.qv5k86ce/downtmp/build.QH8/src/results/jsquery.out	2020-07-27 04:41:38.828913000 +0000
609@@ -67,7 +67,7 @@
610 ERROR:  bad jsquery representation
611 LINE 1: select '* < 13 AND #.zxc"x" = "true"'::jsquery;
612                ^
613-DETAIL:  syntax error, unexpected STRING_P, expecting $end at or near """
614+DETAIL:  syntax error, unexpected STRING_P, expecting end of file at or near """
615 select 'a < 1'::jsquery;
616  jsquery 
617 ---------
618@@ -1183,7 +1183,7 @@
619 ERROR:  bad jsquery representation
620 LINE 1: select 'a\r = x"\\abcd"'::jsquery AS err;
621                ^
622-DETAIL:  syntax error, unexpected STRING_P, expecting $end at or near """
623+DETAIL:  syntax error, unexpected STRING_P, expecting end of file at or near """
624 --IS
625 select  'as IS boolean OR as is ARRAY OR as is ObJect OR as is Numeric OR as is string'::jsquery;

Full test log: https://salsa.debian.org/postgresql/jsquery/-/jobs/891573

@df7cb
Copy link
Author

@df7cb df7cb commented Oct 18, 2020

This is fixed in master with b96ef6d. Could we please have a new release with these changes so we can update the Debian package?

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.