Skip to content

Add SHOW CONFIG FILE to admin db#649

Open
jaggederest wants to merge 1 commit intomainfrom
feat/show_config_file
Open

Add SHOW CONFIG FILE to admin db#649
jaggederest wants to merge 1 commit intomainfrom
feat/show_config_file

Conversation

@jaggederest
Copy link
Contributor

No description provided.

@jaggederest jaggederest requested a review from levkk December 4, 2025 19:19
@codecov
Copy link

codecov bot commented Dec 4, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pgdog/src/admin/parser.rs 75.00% 4 Missing ⚠️
pgdog/src/admin/show_config_file.rs 90.90% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

let snapshot = sanitize_for_toml(config.config.clone());
let toml = toml::to_string_pretty(&snapshot)?;

let mut messages = vec![RowDescription::new(&[Field::text("pgdog.toml")]).message()?];
Copy link
Collaborator

Choose a reason for hiding this comment

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

Might as well show both of them, either as rows or columns.

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.

2 participants