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 1303: Server crashes on executing SELECT * FROM agtype(null); (#1317) #1331

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

Zainab-Saad
Copy link
Contributor

This PR which is a fix for issue#1303 does the following:

  • Add additional checks for Const expression nodes for which the
    walker code would crash.

  • The server crashes for few other expr types too including Const,
    OpExpr, Var, BoolExpr and CoerceViaIO for which checks are added

  • Add regression tests

    * Add additional checks for Const expression nodes for which the
      walker code would crash.

    * The server crashes for few other expr types too including Const,
      OpExpr, Var, BoolExpr and CoerceViaIO for which checks are added

    * Add regression tests
@github-actions github-actions bot added the PG13 PostgreSQL13 label Oct 31, 2023
@jrgemignani jrgemignani requested a review from rafsun42 October 31, 2023 23:59
@jrgemignani jrgemignani merged commit 7f29206 into apache:PG13 Nov 1, 2023
7 checks passed
@Zainab-Saad Zainab-Saad deleted the fix/issue_1303_PG13 branch February 8, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PG13 PostgreSQL13
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants