Skip to content

Fix issue 1303: Server crashes on executing SELECT * FROM agtype(null); (#1317)#1330

Merged
jrgemignani merged 1 commit intoapache:PG14from
Zainab-Saad:fix/issue_1303_PG14
Nov 1, 2023
Merged

Fix issue 1303: Server crashes on executing SELECT * FROM agtype(null); (#1317)#1330
jrgemignani merged 1 commit intoapache:PG14from
Zainab-Saad:fix/issue_1303_PG14

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 PG14 PostgreSQL14 label Oct 31, 2023
@jrgemignani jrgemignani requested a review from rafsun42 November 1, 2023 00:02
@jrgemignani jrgemignani merged commit 9427956 into apache:PG14 Nov 1, 2023
@Zainab-Saad Zainab-Saad deleted the fix/issue_1303_PG14 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

PG14 PostgreSQL14

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants