Skip to content

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

Merged
jrgemignani merged 1 commit intoapache:PG12from
Zainab-Saad:fix/issue_1303_PG12
Nov 1, 2023
Merged

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

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 PG12 PostgreSQL12 label Oct 31, 2023
@jrgemignani jrgemignani requested a review from rafsun42 October 31, 2023 23:58
@jrgemignani jrgemignani merged commit a3fc6d5 into apache:PG12 Nov 1, 2023
@Zainab-Saad Zainab-Saad deleted the fix/issue_1303_PG12 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

PG12 PostgreSQL12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants