mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-30 11:50:38 +00:00
feat: update pgwire to 0.29 (#6058)
* feat: update pgwire to 0.29 * chore: only build default binary in nix ci * Update src/servers/Cargo.toml Co-authored-by: dennis zhuang <killme2008@gmail.com> --------- Co-authored-by: dennis zhuang <killme2008@gmail.com>
This commit is contained in:
4
.github/workflows/nightly-ci.yml
vendored
4
.github/workflows/nightly-ci.yml
vendored
@@ -117,7 +117,7 @@ jobs:
|
||||
name: Run clean build on Linux
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository == 'GreptimeTeam/greptimedb' }}
|
||||
timeout-minutes: 30
|
||||
timeout-minutes: 45
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -126,7 +126,7 @@ jobs:
|
||||
- uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-24.11
|
||||
- run: nix develop --command cargo build
|
||||
- run: nix develop --command cargo build --bin greptime
|
||||
|
||||
check-status:
|
||||
name: Check status
|
||||
|
||||
7
Cargo.lock
generated
7
Cargo.lock
generated
@@ -8343,9 +8343,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "pgwire"
|
||||
version = "0.28.0"
|
||||
version = "0.29.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c84e671791f3a354f265e55e400be8bb4b6262c1ec04fac4289e710ccf22ab43"
|
||||
checksum = "a4e6fcdc2ae2173ef8ee1005b6e46453d45195ac3d97caac0db7ecf64ab4aa85"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"bytes",
|
||||
@@ -8356,9 +8356,10 @@ dependencies = [
|
||||
"lazy-regex",
|
||||
"md5",
|
||||
"postgres-types",
|
||||
"rand 0.8.5",
|
||||
"rand 0.9.0",
|
||||
"ring",
|
||||
"rust_decimal",
|
||||
"rustls-pki-types",
|
||||
"thiserror 2.0.12",
|
||||
"tokio",
|
||||
"tokio-rustls",
|
||||
|
||||
@@ -86,7 +86,7 @@ opensrv-mysql = { git = "https://github.com/datafuselabs/opensrv", rev = "a1fb4d
|
||||
opentelemetry-proto.workspace = true
|
||||
otel-arrow-rust.workspace = true
|
||||
parking_lot.workspace = true
|
||||
pgwire = { version = "0.28.0", default-features = false, features = ["server-api-ring"] }
|
||||
pgwire = { version = "0.29", default-features = false, features = ["server-api-ring"] }
|
||||
pin-project = "1.0"
|
||||
pipeline.workspace = true
|
||||
postgres-types = { version = "0.2", features = ["with-chrono-0_4", "with-serde_json-1"] }
|
||||
|
||||
@@ -76,9 +76,7 @@ impl PostgresServer {
|
||||
accepting_stream.for_each(move |tcp_stream| {
|
||||
let io_runtime = io_runtime.clone();
|
||||
|
||||
let tls_acceptor = tls_server_config
|
||||
.get_server_config()
|
||||
.map(|server_config| Arc::new(TlsAcceptor::from(server_config)));
|
||||
let tls_acceptor = tls_server_config.get_server_config().map(TlsAcceptor::from);
|
||||
|
||||
let handler_maker = handler_maker.clone();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user