Skip to content

Conversation

@mw5h
Copy link
Contributor

@mw5h mw5h commented Oct 24, 2025

Parsing DO blocks requires that plpgsql be initialized, which reduce previously failed to do, causing it to SEGV upon encountering a DO block in the file being reduced. This change imports the plpgsql parser to hit its init() function, which resolves the issue.

Epic: none
Release note: None

@mw5h mw5h requested a review from a team as a code owner October 24, 2025 21:32
@mw5h mw5h requested review from yuzefovich and removed request for a team October 24, 2025 21:32
@blathers-crl
Copy link

blathers-crl bot commented Oct 24, 2025

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@mw5h mw5h requested a review from a team October 24, 2025 21:33
Copy link
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

Thanks! :lgtm:

@yuzefovich reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @mw5h)

Parsing DO blocks requires that plpgsql be initialized, which reduce
previously failed to do, causing it to SEGV upon encountering a DO block
in the file being reduced. This change imports the plpgsql parser to hit
its init() function, which resolves the issue.

Epic: none
Release note: None
@mw5h
Copy link
Contributor Author

mw5h commented Oct 27, 2025

bors r+

@craig
Copy link
Contributor

craig bot commented Oct 27, 2025

@craig craig bot merged commit 1e00b30 into cockroachdb:master Oct 27, 2025
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants