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 1124: Segmentation fault when using specific tables #1125

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

jrgemignani
Copy link
Contributor

This is a fix for issue 1124 -

Segmentation fault when using specific names for tables.

This issue is due to an oversight of some very specific types of tables that are parameterless functions. The logic to walk through these nodes didn't expect them and would crash due to them.

This fix adds in code to skip over these types of tables.

Added regression tests.

This is a fix for issue 1124 -

Segmentation fault when using specific names for tables.

This issue is due to an oversight of some very specific types of
tables that are parameterless functions. The logic to walk through
these nodes didn't expect them and would crash due to them.

This fix adds in code to skip over these types of tables.

Added regression tests.
@dehowef
Copy link
Member

dehowef commented Aug 8, 2023

Looks good to me.

Copy link
Member

@MuhammadTahaNaveed MuhammadTahaNaveed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍🏻

@MuhammadTahaNaveed MuhammadTahaNaveed linked an issue Aug 8, 2023 that may be closed by this pull request
@dehowef dehowef merged commit 0b9a272 into apache:master Aug 8, 2023
6 checks passed
jrgemignani added a commit to jrgemignani/age that referenced this pull request Aug 15, 2023
…#1125)

This is a fix for issue 1124 -

Segmentation fault when using specific names for tables.

This issue is due to an oversight of some very specific types of
tables that are parameterless functions. The logic to walk through
these nodes didn't expect them and would crash due to them.

This fix adds in code to skip over these types of tables.

Added regression tests.
dehowef pushed a commit that referenced this pull request Aug 15, 2023
…#1149)

This is a fix for issue 1124 -

Segmentation fault when using specific names for tables.

This issue is due to an oversight of some very specific types of
tables that are parameterless functions. The logic to walk through
these nodes didn't expect them and would crash due to them.

This fix adds in code to skip over these types of tables.

Added regression tests.
jrgemignani added a commit to jrgemignani/age that referenced this pull request Aug 15, 2023
…#1125)

This is a fix for issue 1124 -

Segmentation fault when using specific names for tables.

This issue is due to an oversight of some very specific types of
tables that are parameterless functions. The logic to walk through
these nodes didn't expect them and would crash due to them.

This fix adds in code to skip over these types of tables.

Added regression tests.
jrgemignani added a commit to jrgemignani/age that referenced this pull request Aug 15, 2023
…#1125)

This is a fix for issue 1124 -

Segmentation fault when using specific names for tables.

This issue is due to an oversight of some very specific types of
tables that are parameterless functions. The logic to walk through
these nodes didn't expect them and would crash due to them.

This fix adds in code to skip over these types of tables.

Added regression tests.
dehowef pushed a commit that referenced this pull request Aug 15, 2023
…#1152)

This is a fix for issue 1124 -

Segmentation fault when using specific names for tables.

This issue is due to an oversight of some very specific types of
tables that are parameterless functions. The logic to walk through
these nodes didn't expect them and would crash due to them.

This fix adds in code to skip over these types of tables.

Added regression tests.
dehowef pushed a commit that referenced this pull request Aug 15, 2023
…#1153)

This is a fix for issue 1124 -

Segmentation fault when using specific names for tables.

This issue is due to an oversight of some very specific types of
tables that are parameterless functions. The logic to walk through
these nodes didn't expect them and would crash due to them.

This fix adds in code to skip over these types of tables.

Added regression tests.
jrgemignani added a commit that referenced this pull request Aug 17, 2023
PR for moving the PG15 branch up to the current master branch.

Contains all of the latest work in the master branch, which is currently
at PostgreSQL version 15 at the time of this PR. When this PR is merged,
PG15 will be the latest.

Contains the following commits -

* Added the toStringList() function (#1084)
* Fix issue 1124: Segmentation fault when using specific tables (#1125)
* Added the toStringList() function (#1128)
* Fix issue 1000: Indexes created on WHERE (#1133)
MuhammadTahaNaveed pushed a commit to MuhammadTahaNaveed/age that referenced this pull request Aug 24, 2023
…#1125)

This is a fix for issue 1124 -

Segmentation fault when using specific names for tables.

This issue is due to an oversight of some very specific types of
tables that are parameterless functions. The logic to walk through
these nodes didn't expect them and would crash due to them.

This fix adds in code to skip over these types of tables.

Added regression tests.
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

Successfully merging this pull request may close these issues.

Segmentation fault when using specific names for tables
3 participants