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

System crash on Row(<empty string>) #24

Closed
kaigai opened this issue Feb 1, 2019 · 1 comment
Closed

System crash on Row(<empty string>) #24

kaigai opened this issue Feb 1, 2019 · 1 comment

Comments

@kaigai
Copy link

kaigai commented Feb 1, 2019

I could get a system crash on PostgreSQL v9.6 + pg_hint_plan 1.2.5 (for PGv9.6)
when I told the hint-clause below.

/*+
 Row()
 */

It is fundamentally a syntax error, so I expect it shall be ignored or aborted by error.
I guess something like list or cstring are not handled correctly in this corner case.

@horiguti
Copy link
Contributor

horiguti commented Feb 17, 2020

It is a long standing bug of the parser for Rows hint. Fixed it at the commit dd5ea96 and back-patched up to 94. Thanks for reporting.

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