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

Fix issue 1953 - PG Boolean used as AGTYPE object (#1959) #1971

Merged

Conversation

jrgemignani
Copy link
Contributor

Fixed issue 1953 - Server crashes when executing -

SELECT * FROM cypher('ag_graph_3'...)

This was due to the executor phase trying to use a PG Boolean as an AGTYPE object for the indirection argument.

The fix was to use coerce_to_common_type on the input argument in transform_A_Indirection.

Added regression tests.

Fixed issue 1953 - Server crashes when executing -

 SELECT * FROM cypher('ag_graph_3'...)

This was due to the executor phase trying to use a PG Boolean as
an AGTYPE object for the indirection argument.

The fix was to use coerce_to_common_type on the input argument in
transform_A_Indirection.

Added regression tests.
@github-actions github-actions bot added the PG14 PostgreSQL14 label Jul 9, 2024
@MuhammadTahaNaveed MuhammadTahaNaveed merged commit 47f164f into apache:PG14 Jul 18, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PG14 PostgreSQL14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants