feat: pgwire 0.40 (#8257)

This commit is contained in:
Ning Sun
2026-06-08 15:31:08 +08:00
committed by GitHub
parent fd64ced4da
commit 0881b7ba32
3 changed files with 34 additions and 34 deletions

60
Cargo.lock generated
View File

@@ -645,9 +645,9 @@ dependencies = [
[[package]]
name = "arrow-pg"
version = "0.13.0"
version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34ec6f5d8b2025c5950e554ec2b3b4c4d6bd55b4d59b9f50c2b5eed4906c0f64"
checksum = "d7acc179d3edb91fed930ea6aa6def3f73458228079857b4547096040a1cbde8"
dependencies = [
"arrow 58.3.0",
"arrow-schema 58.3.0",
@@ -655,7 +655,7 @@ dependencies = [
"chrono",
"datafusion",
"futures",
"pg_interval_2",
"pg_interval",
"pgwire",
"postgres-types",
"rust_decimal",
@@ -4123,9 +4123,9 @@ dependencies = [
[[package]]
name = "datafusion-pg-catalog"
version = "0.16.0"
version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6970b964fdfc8698359860880cf1b3bee0032b5dffa3d2e4785739c99c879cae"
checksum = "6c0ecc2378a803326a2dd32df32236144e51fe2629547ae1ad03ef6650024e79"
dependencies = [
"arrow-pg",
"async-trait",
@@ -4768,7 +4768,7 @@ checksum = "6e39034cee21a2f5bbb66ba0e3689819c4bb5d00382a282006e802a7ffa6c41d"
dependencies = [
"cfg-if",
"libc",
"socket2 0.6.0",
"socket2 0.6.4",
"windows-sys 0.60.2",
]
@@ -5016,7 +5016,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad"
dependencies = [
"libc",
"windows-sys 0.59.0",
"windows-sys 0.60.2",
]
[[package]]
@@ -6455,7 +6455,7 @@ dependencies = [
"libc",
"percent-encoding",
"pin-project-lite",
"socket2 0.6.0",
"socket2 0.5.10",
"tokio",
"tower-service",
"tracing",
@@ -7654,9 +7654,9 @@ checksum = "775bf80d5878ab7c2b1080b5351a48b2f737d9f6f8b383574eebcc22be0dfccb"
[[package]]
name = "libc"
version = "0.2.180"
version = "0.2.186"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
[[package]]
name = "libflate"
@@ -7711,7 +7711,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667"
dependencies = [
"cfg-if",
"windows-targets 0.52.6",
"windows-targets 0.53.5",
]
[[package]]
@@ -8406,14 +8406,14 @@ dependencies = [
[[package]]
name = "mio"
version = "1.0.4"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78bed444cc8a2160f01cbcf811ef18cac863ad68ae8ca62092e8db51d51c761c"
checksum = "02bd0af71c67b473010cbbc60715ee815645a4dc942899111f494b4b737d6fda"
dependencies = [
"libc",
"log",
"wasi",
"windows-sys 0.59.0",
"windows-sys 0.61.2",
]
[[package]]
@@ -10331,10 +10331,10 @@ dependencies = [
]
[[package]]
name = "pg_interval_2"
version = "0.5.2"
name = "pg_interval"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a055f44628dcf9c4e68f931535dabd3544a239655fdde25a3b0e95d4b36e9260"
checksum = "c386dd54fce258fc04e668126ae68589a0d92e03a90ea67881d1300f70fd6170"
dependencies = [
"bytes",
"chrono",
@@ -10343,9 +10343,9 @@ dependencies = [
[[package]]
name = "pgwire"
version = "0.38.3"
version = "0.40.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24bd4e6b1bfddc5c6420dee6602ec80946700b4c31ddcb64ee190ad6d979c210"
checksum = "f690fba3b77370e278b606b75c6857d3f33f3e570781a75ef7516e76e44c0b19"
dependencies = [
"async-trait",
"aws-lc-rs",
@@ -10357,7 +10357,7 @@ dependencies = [
"hex",
"lazy-regex",
"md5",
"pg_interval_2",
"pg_interval",
"postgres-types",
"rand 0.10.1",
"rust_decimal",
@@ -13144,7 +13144,7 @@ dependencies = [
"parking_lot 0.12.4",
"partition",
"permutation",
"pg_interval_2",
"pg_interval",
"pgwire",
"pin-project",
"pipeline",
@@ -13500,12 +13500,12 @@ dependencies = [
[[package]]
name = "socket2"
version = "0.6.0"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
checksum = "52d1cfed4120b4d927bf7c0f86d2087a4a7d6027c906d9f9d525a80573b9be51"
dependencies = [
"libc",
"windows-sys 0.59.0",
"windows-sys 0.61.2",
]
[[package]]
@@ -14857,9 +14857,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
version = "1.50.0"
version = "1.52.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27ad5e34374e03cfffefc301becb44e9dc3c17584f414349ebe29ed26661822d"
checksum = "8fc7f01b389ac15039e4dc9531aa973a135d7a4135281b12d7c1bc79fd57fffe"
dependencies = [
"bytes",
"libc",
@@ -14867,7 +14867,7 @@ dependencies = [
"parking_lot 0.12.4",
"pin-project-lite",
"signal-hook-registry",
"socket2 0.6.0",
"socket2 0.6.4",
"tokio-macros",
"tracing",
"windows-sys 0.61.2",
@@ -14885,9 +14885,9 @@ dependencies = [
[[package]]
name = "tokio-macros"
version = "2.6.0"
version = "2.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
checksum = "385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496"
dependencies = [
"proc-macro2",
"quote",
@@ -15146,7 +15146,7 @@ dependencies = [
"percent-encoding",
"pin-project",
"rustls-native-certs 0.8.1",
"socket2 0.6.0",
"socket2 0.6.4",
"sync_wrapper 1.0.2",
"tokio",
"tokio-rustls",

View File

@@ -137,7 +137,7 @@ datafusion-functions-aggregate-common = "=53.1.0"
datafusion-functions-window-common = "=53.1.0"
datafusion-optimizer = "=53.1.0"
datafusion-orc = { git = "https://github.com/datafusion-contrib/datafusion-orc.git", rev = "6c07fa282dc8d62db2aa4ded06ab55485efc811a" }
datafusion-pg-catalog = "0.16"
datafusion-pg-catalog = "0.17"
datafusion-physical-expr = "=53.1.0"
datafusion-physical-plan = "=53.1.0"
datafusion-proto = "=53.1.0"

View File

@@ -24,7 +24,7 @@ api.workspace = true
arrow.workspace = true
arrow-flight.workspace = true
arrow-ipc.workspace = true
arrow-pg = "0.13"
arrow-pg = "0.14"
arrow-schema.workspace = true
async-trait.workspace = true
auth.workspace = true
@@ -94,8 +94,8 @@ operator.workspace = true
otel-arrow-rust.workspace = true
parking_lot.workspace = true
partition.workspace = true
pg_interval = { version = "0.5.2", package = "pg_interval_2" }
pgwire = { version = "0.38.3", default-features = false, features = [
pg_interval = "0.5"
pgwire = { version = "0.40", default-features = false, features = [
"server-api-aws-lc-rs",
"pg-ext-types",
] }