Sanity-check Pageserver URLs

This commit is contained in:
Erik Grinaker
2025-07-03 14:18:14 +02:00
parent 9aba9550dd
commit d4b4724921
3 changed files with 19 additions and 4 deletions
+1 -1
View File
@@ -457,7 +457,7 @@ pub struct JwksSettings {
}
/// Protocol used to connect to a Pageserver. Parsed from the connstring scheme.
#[derive(Clone, Copy, Debug, Default)]
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
pub enum PageserverProtocol {
/// The original protocol based on libpq and COPY. Uses postgresql:// or postgres:// scheme.
#[default]