Skip to content

[-] fix unrecognized config parameter "pg_timetable.current_chain_id"#785

Merged
pashagolub merged 1 commit into
masterfrom
fix-unrecognized-param-current-chain-id
Jun 23, 2026
Merged

[-] fix unrecognized config parameter "pg_timetable.current_chain_id"#785
pashagolub merged 1 commit into
masterfrom
fix-unrecognized-param-current-chain-id

Conversation

@pashagolub

Copy link
Copy Markdown
Collaborator

executeOnErrorHandler() did not set pg_timetable.current_chain_id and current_client_name GUCs before executing the on_error SQL, causing error.

Fixed by opening a transaction, calling SetCurrentTaskContext(), then executing the error handler SQL within it.

executeOnErrorHandler did not set `pg_timetable.current_chain_id` and
`current_client_name` GUCs before executing the `on_error` SQL,
causing error.

Fixed by opening a transaction, calling `SetCurrentTaskContext()`,
then executing the error handler SQL within it.
@pashagolub pashagolub self-assigned this Jun 23, 2026
@pashagolub pashagolub added the bug Something isn't working label Jun 23, 2026
@pashagolub pashagolub merged commit 1e4df80 into master Jun 23, 2026
6 checks passed
@pashagolub pashagolub deleted the fix-unrecognized-param-current-chain-id branch June 23, 2026 19:10
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 28050185797

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage decreased (-0.007%) to 89.384%

Details

  • Coverage decreased (-0.007%) from the base build.
  • Patch coverage: 9 of 9 lines across 1 file are fully covered (100%).
  • 4 coverage regressions across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

4 previously-covered lines in 1 file lost coverage.

File Lines Losing Coverage Coverage
internal/pgengine/log_hook.go 4 81.08%

Coverage Stats

Coverage Status
Relevant Lines: 2289
Covered Lines: 2046
Line Coverage: 89.38%
Coverage Strength: 1.02 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants