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

Don't return from inside PG_TRY #7095

Merged
merged 1 commit into from Mar 11, 2024
Merged

Don't return from inside PG_TRY #7095

merged 1 commit into from Mar 11, 2024

Conversation

save-buffer
Copy link
Contributor

Problem

Returning from PG_TRY is a bug, and we currently do that

Summary of changes

Make it break and then return false. This should also help stabilize test_bad_connection.py

pgxn/neon/libpagestore.c Show resolved Hide resolved
@save-buffer save-buffer enabled auto-merge (squash) March 11, 2024 18:19
@save-buffer save-buffer merged commit 9872384 into main Mar 11, 2024
52 checks passed
@save-buffer save-buffer deleted the sasha_fix_test_again branch March 11, 2024 18:36
Copy link

2496 tests run: 2376 passed, 0 failed, 120 skipped (full report)


Code coverage* (full report)

  • functions: 28.8% (7031 of 24443 functions)
  • lines: 47.6% (43448 of 91297 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
4cfb05a at 2024-03-11T18:39:57.261Z :recycle:

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.

None yet

3 participants