diff --git a/Cargo.lock b/Cargo.lock index a9876fa..4e32b6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2728,9 +2728,9 @@ dependencies = [ [[package]] name = "pgwire" -version = "0.33.0" +version = "0.34.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f58d371668e6151da16be31308989058156c01257277ea8af0f97524e87cfa31" +checksum = "c748793f2a9267fa2aa409d9375a5e26e4f1504ea96e34f8cab3e2fc32042d69" dependencies = [ "async-trait", "base64", @@ -2746,6 +2746,8 @@ dependencies = [ "ring", "rust_decimal", "rustls-pki-types", + "serde", + "serde_json", "stringprep", "thiserror", "tokio", @@ -2834,6 +2836,8 @@ dependencies = [ "chrono", "fallible-iterator 0.2.0", "postgres-protocol", + "serde_core", + "serde_json", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 09d5fec..99290e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ bytes = "1.10.1" chrono = { version = "0.4", features = ["std"] } datafusion = { version = "50", default-features = false } futures = "0.3" -pgwire = { version = "0.33", default-features = false } +pgwire = { version = "0.34", default-features = false } postgres-types = "0.2" rust_decimal = { version = "1.39", features = ["db-postgres"] } tokio = { version = "1", default-features = false } diff --git a/arrow-pg/Cargo.toml b/arrow-pg/Cargo.toml index 73413a8..d5ee623 100644 --- a/arrow-pg/Cargo.toml +++ b/arrow-pg/Cargo.toml @@ -27,7 +27,7 @@ bytes.workspace = true chrono.workspace = true datafusion = { workspace = true, optional = true } futures.workspace = true -pgwire = { workspace = true, default-features = false, features = ["server-api"] } +pgwire = { workspace = true, default-features = false, features = ["server-api", "pg-ext-types"] } postgres-types.workspace = true rust_decimal.workspace = true diff --git a/datafusion-postgres/src/testing.rs b/datafusion-postgres/src/testing.rs index b4a51b5..76a13ef 100644 --- a/datafusion-postgres/src/testing.rs +++ b/datafusion-postgres/src/testing.rs @@ -86,6 +86,10 @@ impl ClientInfo for MockClient { fn client_certificates<'a>(&self) -> Option<&[rustls_pki_types::CertificateDer<'a>]> { None } + + fn sni_server_name(&self) -> Option<&str> { + None + } } impl ClientPortalStore for MockClient {