From 550b1ee51f370240dcc8cae692b1bc30c0df5609 Mon Sep 17 00:00:00 2001 From: meskill <8974488+meskill@users.noreply.github.com> Date: Wed, 30 Sep 2026 10:06:49 +0000 Subject: [PATCH] chore: upgrade pg_raw_parse version --- Cargo.lock | 2 +- Cargo.toml | 3 +-- pgdog/src/backend/schema/sync/pg_dump.rs | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 297f0cf6d..b7493f795 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3094,7 +3094,7 @@ checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "pg_raw_parse" version = "0.1.0" -source = "git+https://github.com/pgdogdev/pg_raw_parse.git?rev=cf9e398#cf9e398915285d5fae88f213a837895358f67c3b" +source = "git+https://github.com/pgdogdev/pg_raw_parse.git?rev=f63e7f4#f63e7f49d85612e4507081e52fc8f40349b70580" dependencies = [ "bindgen 0.72.1", "cc", diff --git a/Cargo.toml b/Cargo.toml index 74d70acdc..fca1b0fe9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,8 +22,7 @@ edition = "2024" pgdog-plugin = { path = "./pgdog-plugin", version = "0.4.0", default-features = false } pgdog-config = { path = "./pgdog-config", version = "0.1.0" } pgdog-postgres-types = { path = "./pgdog-postgres-types"} -# TODO: update after merge https://github.com/pgdogdev/pg_raw_parse/pull/56 -pg_raw_parse = { git = "https://github.com/pgdogdev/pg_raw_parse.git", rev = "cf9e398" } +pg_raw_parse = { git = "https://github.com/pgdogdev/pg_raw_parse.git", rev = "f63e7f4" } bon = "3.9" derive_more = { version = "2", features = ["display", "from"] } schemars = { version = "1.2.1", features = ["uuid1", "chrono04", "indexmap2"] } diff --git a/pgdog/src/backend/schema/sync/pg_dump.rs b/pgdog/src/backend/schema/sync/pg_dump.rs index 56101bd4b..be516d49d 100644 --- a/pgdog/src/backend/schema/sync/pg_dump.rs +++ b/pgdog/src/backend/schema/sync/pg_dump.rs @@ -1131,7 +1131,7 @@ FROM public.s;"#, assert_eq!(statements.len(), 1); assert_eq!( statements[0].sql, - "CREATE OR REPLACE VIEW public.v AS SELECT id, ((summary ->> 'ts'::text)::timestamp with time zone AT TIME ZONE ((summary -> 'stop'::text) ->> 'tz'::text))::date AS d FROM public.s" + "CREATE OR REPLACE VIEW public.v AS SELECT id, ((summary ->> 'ts'::text)::timestamp with time zone AT TIME ZONE (summary -> 'stop'::text ->> 'tz'::text))::date AS d FROM public.s" ); }