FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[*] respect `--log-database-level` when log to `timetable.execution_log` by pashagolub · Pull Request #682 · cybertec-postgresql/pg_timetable · GitHub

[*] respect --log-database-level when log to timetable.execution_log - #682

Merged
pashagolub merged 1 commit into
masterfrom
fix-db-execution-log
Mar 28, 2025
Merged

pashagolub merged 1 commit into
masterfrom
fix-db-execution-log

Conversation

Copy link
Copy Markdown
Collaborator

No description provided.

pashagolub requested a review from Copilot March 28, 2025 15:37
pashagolub self-assigned this Mar 28, 2025
pashagolub added the bug Something isn't working label Mar 28, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull Request Overview

This PR adds logic to respect the "--log-database-level" option when logging to the timetable.execution_log.

  • Introduces a switch-case block that returns early based on the log database level.
  • Implements conditional logging where only certain error levels trigger database log insertion.

Comment thread internal/pgengine/access.go Outdated
pashagolub force-pushed the fix-db-execution-log branch from aeb4412 to 847d4fe Compare March 28, 2025 15:39
pashagolub merged commit c5c6461 into master Mar 28, 2025
pashagolub deleted the fix-db-execution-log branch March 28, 2025 15:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL