From d82fee4a3282c17926c066d6a66392c032f10130 Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Nov 2026 20:05:32 -0500 Subject: [PATCH 1/9] fix: rebuild deltax with patched pgrx and compression dependencies --- Cargo.lock | 1967 ++++++------------------------ Cargo.toml | 14 +- docker/Dockerfile | 2 +- docker/Dockerfile.dev | 6 +- packaging.mk | 10 +- src/bin/pgrx_embed.rs | 1 - src/compress.rs | 22 +- src/compression/bitpacked.rs | 20 +- src/copy.rs | 25 +- src/copyparquet.rs | 8 +- src/lib.rs | 27 + src/scan/cost.rs | 4 +- src/scan/exec/agg/parallel_cd.rs | 4 +- src/scan/exec/batch_qual.rs | 12 +- src/scan/exec/datum_utils.rs | 4 +- src/scan/exec/decompress.rs | 12 +- src/scan/exec/segments.rs | 18 +- src/scan/hook.rs | 4 +- src/scan/json_extract.rs | 4 +- 19 files changed, 510 insertions(+), 1654 deletions(-) delete mode 100644 src/bin/pgrx_embed.rs diff --git a/Cargo.lock b/Cargo.lock index faadde66..e0fb6253 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -18,9 +18,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" dependencies = [ "memchr", ] @@ -33,124 +33,56 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "android_system_properties" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +checksum = "ae221649c9976a6f6c56ae1facf410f3ddb33cc661c4b7b61020a912d4237fbc" dependencies = [ "libc", ] -[[package]] -name = "annotate-snippets" -version = "0.11.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "710e8eae58854cdc1790fcb56cca04d712a17be849eeb81da2a724bf4bae2bc4" -dependencies = [ - "anstyle", - "unicode-width", -] - -[[package]] -name = "anstyle" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" - -[[package]] -name = "anyhow" -version = "1.0.102" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c" - -[[package]] -name = "async-trait" -version = "0.1.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "autocfg" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" - -[[package]] -name = "base64" -version = "0.22.1" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" [[package]] name = "bindgen" -version = "0.72.1" +version = "0.73.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895" +checksum = "787ef8ef523575546b106a58213d6e6b06198a05c2f757258c68a74273670cfa" dependencies = [ - "annotate-snippets", "bitflags", "cexpr", "clang-sys", - "itertools", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn", + "syn 3.0.10", ] -[[package]] -name = "bit-set" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" -dependencies = [ - "bit-vec", -] - -[[package]] -name = "bit-vec" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" - [[package]] name = "bitflags" -version = "2.11.0" +version = "2.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af" - -[[package]] -name = "bitvec" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" -dependencies = [ - "funty", - "radium", - "tap", - "wyz", -] +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" [[package]] name = "block-buffer" -version = "0.10.4" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" dependencies = [ - "generic-array", + "hybrid-array", ] [[package]] name = "bumpalo" -version = "3.20.2" +version = "3.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" [[package]] name = "byteorder" @@ -160,18 +92,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.11.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" - -[[package]] -name = "camino" -version = "1.2.2" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48" -dependencies = [ - "serde_core", -] +checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04" [[package]] name = "cardinality-estimator" @@ -183,44 +106,11 @@ dependencies = [ "wyhash", ] -[[package]] -name = "cargo-platform" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e35af189006b9c0f00a064685c727031e3ed2d8020f7ba284d78cc2671bd36ea" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo_metadata" -version = "0.18.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d886547e41f740c616ae73108f6eb70afe6d940c7bc697cb30f13daec073037" -dependencies = [ - "camino", - "cargo-platform", - "semver", - "serde", - "serde_json", - "thiserror 1.0.69", -] - -[[package]] -name = "cargo_toml" -version = "0.22.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77" -dependencies = [ - "serde", - "toml", -] - [[package]] name = "cc" -version = "1.2.56" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aebf35691d1bfb0ac386a69bac2fde4dd276fb618cf8bf4f5318fe285e821bb2" +checksum = "4ff2a8126fff0f8c839080d619675a585e61720bb12d2baceae45769fd66f155" dependencies = [ "find-msvc-tools", "jobserver", @@ -249,15 +139,15 @@ dependencies = [ [[package]] name = "cfg-if" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" [[package]] name = "chrono" -version = "0.4.44" +version = "0.4.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0" +checksum = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" dependencies = [ "iana-time-zone", "num-traits", @@ -265,73 +155,40 @@ dependencies = [ ] [[package]] -name = "clang-sys" -version = "1.8.1" +name = "clang" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" +checksum = "b2ed30b30e1e17966b55ddd0b9dd2758fd824f0a6da6875c8abb17e6aba47c28" dependencies = [ - "glob", + "clang-sys", "libc", - "libloading", -] - -[[package]] -name = "clap" -version = "4.5.60" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2797f34da339ce31042b27d23607e051786132987f595b02ba4f6a6dffb7030a" -dependencies = [ - "clap_builder", - "clap_derive", -] - -[[package]] -name = "clap-cargo" -version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b2ea69cefa96b848b73ad516ad1d59a195cdf9263087d977f648a818c8b43e" -dependencies = [ - "anstyle", - "cargo_metadata", - "clap", ] [[package]] -name = "clap_builder" -version = "4.5.60" +name = "clang-sys" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24a241312cea5059b13574bb9b3861cabf758b879c15190b37b6d6fd63ab6876" +checksum = "157a8ba7b480713b56f4c09fd13fc3e0a22a5dfab8097ba61cbc5feef950788a" dependencies = [ - "anstyle", - "clap_lex", + "glob", + "libc", + "libloading", ] [[package]] -name = "clap_derive" -version = "4.5.55" +name = "codepage" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a92793da1a46a5f2a02a6f4c46c6496b28c43638adea8306fcb0caa1634f24e5" +checksum = "bdff162541cd8b79de82e2edcc7eff3a8c2a6dc3d75152636028f96d93de3b26" dependencies = [ - "heck", - "proc-macro2", - "quote", - "syn", + "encoding_rs", ] [[package]] -name = "clap_lex" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a822ea5bc7590f9d40f1ba12c0dc3c2760f3482c6984db1573ad11031420831" - -[[package]] -name = "codepage" -version = "0.1.2" +name = "const-oid" +version = "0.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48f68d061bc2828ae826206326e61251aca94c1e4a5305cf52d9138639c918b4" -dependencies = [ - "encoding_rs", -] +checksum = "be95d4a884358a21a199689323c29e9256b4a1b315e22f183d155422041d3a9a" [[package]] name = "const-random" @@ -353,26 +210,23 @@ dependencies = [ "tiny-keccak", ] -[[package]] -name = "convert_case" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baaaa0ecca5b51987b9423ccdc971514dd8b0bb7b4060b983d3664dad3f1f89f" -dependencies = [ - "unicode-segmentation", -] - [[package]] name = "core-foundation-sys" version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" +[[package]] +name = "core_detect" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f8f80099a98041a3d1622845c271458a2d73e688351bf3cb999266764b81d48" + [[package]] name = "cpufeatures" -version = "0.2.17" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" dependencies = [ "libc", ] @@ -385,69 +239,36 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "crypto-common" -version = "0.1.7" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" dependencies = [ - "generic-array", - "typenum", + "hybrid-array", ] [[package]] name = "digest" -version = "0.10.7" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" dependencies = [ "block-buffer", + "const-oid", "crypto-common", - "subtle", -] - -[[package]] -name = "displaydoc" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" -dependencies = [ - "proc-macro2", - "quote", - "syn", ] -[[package]] -name = "either" -version = "1.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" - [[package]] name = "encoding_rs" -version = "0.8.35" +version = "0.8.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" +checksum = "89253175e704ab869b04f9db224d38630e0211a53841a79181deae0889e169f5" dependencies = [ "cfg-if", -] - -[[package]] -name = "enum-map" -version = "2.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6866f3bfdf8207509a033af1a75a7b08abda06bbaaeae6669323fd5a097df2e9" -dependencies = [ - "enum-map-derive", -] - -[[package]] -name = "enum-map-derive" -version = "0.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f282cfdfe92516eb26c2af8589c274c7c17681f5ecc03c18255fe741c6aa64eb" -dependencies = [ - "proc-macro2", - "quote", - "syn", + "core_detect", + "multiversion_no_op", + "rustversion", + "scopeguard", + "simdutf8", ] [[package]] @@ -459,20 +280,20 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn", + "syn 2.0.119", ] [[package]] name = "equivalent" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" +checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826" [[package]] name = "errno" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" +checksum = "e35d6e78f4cebb90e51d543db8fe41528851d6deeef6ef21ebd4bfdc1e784776" dependencies = [ "libc", "windows-sys 0.61.2", @@ -480,43 +301,26 @@ dependencies = [ [[package]] name = "eyre" -version = "0.6.12" +version = "0.6.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" +checksum = "c08309dbcc659c5549a24ddb9b27027640641b282ef5768267c7e675558986a3" dependencies = [ + "autocfg", "indenter", "once_cell", ] -[[package]] -name = "fallible-iterator" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" - [[package]] name = "fastrand" -version = "2.3.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" +checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223" [[package]] name = "find-msvc-tools" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" - -[[package]] -name = "fixedbitset" -version = "0.5.7" +version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99" - -[[package]] -name = "fnv" -version = "1.0.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48" [[package]] name = "foldhash" @@ -524,69 +328,28 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" -[[package]] -name = "form_urlencoded" -version = "1.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" -dependencies = [ - "percent-encoding", -] - -[[package]] -name = "funty" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" - -[[package]] -name = "futures-channel" -version = "0.3.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07bbe89c50d7a535e539b8c17bc0b49bdb77747034daa8087407d655f3f7cc1d" -dependencies = [ - "futures-core", - "futures-sink", -] - [[package]] name = "futures-core" -version = "0.3.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e3450815272ef58cec6d564423f6e755e25379b217b0bc688e295ba24df6b1d" - -[[package]] -name = "futures-sink" -version = "0.3.32" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c39754e157331b013978ec91992bde1ac089843443c49cbc7f46150b0fad0893" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" [[package]] name = "futures-task" -version = "0.3.32" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "037711b3d59c33004d3856fbdc83b99d4ff37a24768fa1be9ce3538a1cde4393" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" [[package]] name = "futures-util" -version = "0.3.32" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" dependencies = [ "futures-core", - "futures-sink", "futures-task", "pin-project-lite", -] - -[[package]] -name = "generic-array" -version = "0.14.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -dependencies = [ - "typenum", - "version_check", + "slab", ] [[package]] @@ -597,7 +360,7 @@ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" dependencies = [ "cfg-if", "libc", - "wasi 0.11.1+wasi-snapshot-preview1", + "wasi", ] [[package]] @@ -608,28 +371,26 @@ checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" dependencies = [ "cfg-if", "libc", - "r-efi", + "r-efi 5.3.0", "wasip2", ] [[package]] name = "getrandom" -version = "0.4.1" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "139ef39800118c7683f2fd3c98c1b23c09ae076556b435f8e9064ae108aaeeec" +checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099" dependencies = [ "cfg-if", "libc", - "r-efi", - "wasip2", - "wasip3", + "r-efi 6.0.0", ] [[package]] name = "glob" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" +checksum = "e4eba85ea1d0a966a983acd07deee566e67395d2d96b6fb39e62b5a833f1eb0b" [[package]] name = "half" @@ -662,29 +423,23 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" - -[[package]] -name = "heck" -version = "0.5.0" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" [[package]] name = "hermit-abi" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc0fef456e4baa96da950455cd02c081ca953b141298e41db3fc7e36b1da849c" +checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284" [[package]] -name = "hmac" -version = "0.12.1" +name = "hybrid-array" +version = "0.4.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17" dependencies = [ - "digest", + "typenum", ] [[package]] @@ -711,114 +466,6 @@ dependencies = [ "cc", ] -[[package]] -name = "icu_collections" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" -dependencies = [ - "displaydoc", - "potential_utf", - "yoke", - "zerofrom", - "zerovec", -] - -[[package]] -name = "icu_locale_core" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" -dependencies = [ - "displaydoc", - "litemap", - "tinystr", - "writeable", - "zerovec", -] - -[[package]] -name = "icu_normalizer" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" -dependencies = [ - "icu_collections", - "icu_normalizer_data", - "icu_properties", - "icu_provider", - "smallvec", - "zerovec", -] - -[[package]] -name = "icu_normalizer_data" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" - -[[package]] -name = "icu_properties" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "020bfc02fe870ec3a66d93e677ccca0562506e5872c650f893269e08615d74ec" -dependencies = [ - "icu_collections", - "icu_locale_core", - "icu_properties_data", - "icu_provider", - "zerotrie", - "zerovec", -] - -[[package]] -name = "icu_properties_data" -version = "2.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "616c294cf8d725c6afcd8f55abc17c56464ef6211f9ed59cccffe534129c77af" - -[[package]] -name = "icu_provider" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" -dependencies = [ - "displaydoc", - "icu_locale_core", - "writeable", - "yoke", - "zerofrom", - "zerotrie", - "zerovec", -] - -[[package]] -name = "id-arena" -version = "2.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" - -[[package]] -name = "idna" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" -dependencies = [ - "idna_adapter", - "smallvec", - "utf8_iter", -] - -[[package]] -name = "idna_adapter" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" -dependencies = [ - "icu_normalizer", - "icu_properties", -] - [[package]] name = "indenter" version = "0.3.4" @@ -827,14 +474,12 @@ checksum = "964de6e86d545b246d84badc0fef527924ace5134f30641c203ef52ba83f58d5" [[package]] name = "indexmap" -version = "2.13.0" +version = "2.14.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" dependencies = [ "equivalent", - "hashbrown 0.16.1", - "serde", - "serde_core", + "hashbrown 0.17.1", ] [[package]] @@ -843,58 +488,38 @@ version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02" -[[package]] -name = "is_ci" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7655c9839580ee829dfacba1d1278c2b7883e50a277ff7541299489d6bdfdc45" - -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - [[package]] name = "itoa" -version = "1.0.17" +version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" +checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4" [[package]] name = "jobserver" -version = "0.1.34" +version = "0.1.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" +checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3" dependencies = [ - "getrandom 0.3.4", + "getrandom 0.4.3", "libc", ] [[package]] name = "js-sys" -version = "0.3.89" +version = "0.3.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4eacb0641a310445a4c513f2a5e23e19952e269c6a38887254d5f837a305506" +checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a" dependencies = [ - "once_cell", + "cfg-if", + "futures-util", "wasm-bindgen", ] -[[package]] -name = "leb128fmt" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" - [[package]] name = "libc" -version = "0.2.182" +version = "0.2.191" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112" +checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" [[package]] name = "libloading" @@ -912,16 +537,6 @@ version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" -[[package]] -name = "libredox" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d0b95e02c851351f877147b7deea7b1afb1df71b63aa5f8270716e0c5720616" -dependencies = [ - "bitflags", - "libc", -] - [[package]] name = "linux-raw-sys" version = "0.12.1" @@ -929,50 +544,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" [[package]] -name = "litemap" -version = "0.8.1" +name = "log" +version = "0.4.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" +checksum = "5d15f86d12da44cd8d4ec3c73984537eb7f4cadcb9776a575a0a8a05ca11005c" [[package]] -name = "lock_api" -version = "0.4.14" +name = "lz4_flex" +version = "0.11.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" +checksum = "373f5eceeeab7925e0c1098212f2fbc4d416adec9d35051a6ab251e824c1854a" dependencies = [ - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.29" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" - -[[package]] -name = "lz4_flex" -version = "0.11.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08ab2867e3eeeca90e844d1940eab391c9dc5228783db2ed999acbc0a9ed375a" -dependencies = [ - "twox-hash", -] - -[[package]] -name = "md-5" -version = "0.10.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" -dependencies = [ - "cfg-if", - "digest", + "twox-hash", ] [[package]] name = "memchr" -version = "2.8.0" +version = "2.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" [[package]] name = "minimal-lexical" @@ -981,15 +571,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] -name = "mio" -version = "1.1.1" +name = "multiversion_no_op" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a69bcab0ad47271a0234d9422b131806bf3968021e5dc9328caf2d4cd58557fc" -dependencies = [ - "libc", - "wasi 0.11.1+wasi-snapshot-preview1", - "windows-sys 0.61.2", -] +checksum = "743fb55ba31b18fb1ecef6bdc9aa2743314978ac084044301a7eee33fb99a20d" [[package]] name = "nom" @@ -1010,65 +595,22 @@ dependencies = [ "winapi", ] -[[package]] -name = "num" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23" -dependencies = [ - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits", -] - [[package]] name = "num-bigint" -version = "0.4.6" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" +checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" dependencies = [ "num-integer", "num-traits", ] -[[package]] -name = "num-complex" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" -dependencies = [ - "num-traits", -] - [[package]] name = "num-integer" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-iter" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1429034a0490724d0075ebb2bc9e875d6503c3cf69e235a8941aa757d83ef5bf" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.4.2" +version = "0.1.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" +checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" dependencies = [ - "num-integer", "num-traits", ] @@ -1102,74 +644,50 @@ dependencies = [ ] [[package]] -name = "objc2-system-configuration" +name = "objc2-io-kit" version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7216bd11cbda54ccabcab84d523dc93b858ec75ecfb3a7d89513fa22464da396" +checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15" dependencies = [ + "libc", "objc2-core-foundation", ] [[package]] name = "once_cell" -version = "1.21.3" +version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" [[package]] name = "ordered-float" -version = "2.10.1" +version = "3.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" +checksum = "f1e1c390732d15f1d48471625cd92d154e66db2c56645e29a9cd26f4699f72dc" dependencies = [ "num-traits", ] [[package]] name = "owo-colors" -version = "4.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d211803b9b6b570f68772237e415a029d5a50c65d382910b879fb19d3271f94d" -dependencies = [ - "supports-color", -] - -[[package]] -name = "parking_lot" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.12" +version = "4.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-link", -] +checksum = "13c45bb4a6ae1280ec0803b1ef9d3455eb50f01efbbe1447ab020f1d54fba9d8" [[package]] name = "parquet" -version = "55.2.0" +version = "58.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b17da4150748086bd43352bc77372efa9b6e3dbd06a04831d2a98c041c225cfa" +checksum = "b967e8aa77dbc32719087ff91f0f100948a0a7e4c88609bd91b0ccf47e594d7e" dependencies = [ "ahash", "bytes", "chrono", "half 2.7.1", - "hashbrown 0.15.5", - "num", + "hashbrown 0.17.1", "num-bigint", + "num-integer", + "num-traits", "paste", "seq-macro", "snap", @@ -1184,37 +702,9 @@ version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" -[[package]] -name = "pathsearch" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da983bc5e582ab17179c190b4b66c7d76c5943a69c6d34df2a2b6bf8a2977b05" -dependencies = [ - "anyhow", - "libc", -] - -[[package]] -name = "percent-encoding" -version = "2.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" - -[[package]] -name = "petgraph" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455" -dependencies = [ - "fixedbitset", - "hashbrown 0.15.5", - "indexmap", - "serde", -] - [[package]] name = "pg_deltax" -version = "0.2.0-dotcms.6" +version = "0.2.0-dotcms.7" dependencies = [ "ahash", "cardinality-estimator", @@ -1241,13 +731,11 @@ dependencies = [ [[package]] name = "pgrx" -version = "0.17.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd42eed31a68e3e6d7cec284cdaacd8ffa9b2b3ebb3f1df9ec2fd3558834c6e7" +checksum = "37147008ecfda0aedd64a924afed86ce6bca805bc2c103c8097583b530ab9505" dependencies = [ "bitflags", - "bitvec", - "enum-map", "libc", "pgrx-macros", "pgrx-pg-sys", @@ -1256,66 +744,84 @@ dependencies = [ "serde", "serde_cbor", "serde_json", - "thiserror 2.0.18", - "uuid", + "thiserror", ] [[package]] name = "pgrx-bindgen" -version = "0.17.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d30fa3688ab1cb6429ca46725eb32d5d9f186806c0f0aa6419f86e418b8a81ab" +checksum = "f451dab19ad85a36a6f7a1da385846aca2262c84c36d4e705b2aebd52cd6f0f0" dependencies = [ "bindgen", - "cc", - "clang-sys", "eyre", + "pgrx-c-macros", "pgrx-pg-config", "proc-macro2", "quote", "regex", + "serde", + "serde_json", "shlex", - "syn", + "syn 2.0.119", + "toml", "walkdir", ] +[[package]] +name = "pgrx-c-macros" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "202a94c98efda3d8a7c920a3a7dfbd8bc1ac8d416b7b79646c2710e3a682f553" +dependencies = [ + "clang", + "clang-sys", + "eyre", + "pgrx-pg-config", + "proc-macro2", + "ring", + "serde", + "serde_json", + "sha2", + "shlex", + "tempfile", + "thiserror", +] + [[package]] name = "pgrx-macros" -version = "0.17.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ca7cc537daa4cc004f12ad1d31756b506358aa900251a82c3280e719da88fa4" +checksum = "2349537da01f5e58ed79975cb2a38b20d6d82967243dcf7bc0ef5c12035c7b83" dependencies = [ "pgrx-sql-entity-graph", "proc-macro2", "quote", - "syn", + "syn 2.0.119", ] [[package]] name = "pgrx-pg-config" -version = "0.17.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd8670ad408093a83615fc68071929d7677b40021a475649a626319c464f0a3" +checksum = "ea50fe9e10100f83192e0a4d268daf13bf3bceece31b3afca3bcf844f72d51c5" dependencies = [ - "cargo_toml", "codepage", "encoding_rs", "eyre", "owo-colors", - "pathsearch", "serde", "serde_json", - "thiserror 2.0.18", + "thiserror", "toml", - "url", "winapi", ] [[package]] name = "pgrx-pg-sys" -version = "0.17.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9f81faae87d533b573156261b17521c0c7f66f5ca5dab2b9e6ddbf5a63dbd14" +checksum = "0d3dbceaedddb417f56d79d3261d73dc402f443b28889e73bba3917a83f8ec60" dependencies = [ "cee-scape", "libc", @@ -1327,188 +833,62 @@ dependencies = [ [[package]] name = "pgrx-sql-entity-graph" -version = "0.17.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4800fa91a481a83d3c1aaffd1324fcd2e587df0ed342c71d6a66d0899027e505" +checksum = "b6260a2e9163c79cdcf9d002da74fa0dbff6e43e187e0a2385d3effe040db0bf" dependencies = [ - "convert_case", "eyre", - "petgraph", "proc-macro2", "quote", - "syn", - "thiserror 2.0.18", - "unescape", + "syn 2.0.119", + "thiserror", ] [[package]] name = "pgrx-tests" -version = "0.17.0" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d8026b55f3782cc227b32dcd1de61163b50175c98705d888f03e7095d371c41" +checksum = "84b427923bb10d0cd655bf866afb47f77a70bc3cef8c925be593b7f370875eae" dependencies = [ - "clap-cargo", "eyre", "libc", "owo-colors", - "paste", "pgrx", "pgrx-macros", "pgrx-pg-config", - "postgres", - "proptest", - "rand", "regex", - "serde", - "serde_json", "shlex", "sysinfo", - "tempfile", - "thiserror 2.0.18", + "thiserror", "winapi", ] -[[package]] -name = "phf" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf" -dependencies = [ - "phf_shared", - "serde", -] - -[[package]] -name = "phf_shared" -version = "0.13.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266" -dependencies = [ - "siphasher", -] - [[package]] name = "pin-project-lite" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" +checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" [[package]] name = "pkg-config" -version = "0.3.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" - -[[package]] -name = "postgres" -version = "0.19.12" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7c48ece1c6cda0db61b058c1721378da76855140e9214339fa1317decacb176" -dependencies = [ - "bytes", - "fallible-iterator", - "futures-util", - "log", - "tokio", - "tokio-postgres", -] - -[[package]] -name = "postgres-protocol" -version = "0.6.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ee9dd5fe15055d2b6806f4736aa0c9637217074e224bbec46d4041b91bb9491" -dependencies = [ - "base64", - "byteorder", - "bytes", - "fallible-iterator", - "hmac", - "md-5", - "memchr", - "rand", - "sha2", - "stringprep", -] - -[[package]] -name = "postgres-types" -version = "0.2.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54b858f82211e84682fecd373f68e1ceae642d8d751a1ebd13f33de6257b3e20" -dependencies = [ - "bytes", - "fallible-iterator", - "postgres-protocol", -] - -[[package]] -name = "potential_utf" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" -dependencies = [ - "zerovec", -] - -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - -[[package]] -name = "prettyplease" -version = "0.2.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" -dependencies = [ - "proc-macro2", - "syn", -] +checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548" [[package]] name = "proc-macro2" -version = "1.0.106" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" dependencies = [ "unicode-ident", ] -[[package]] -name = "proptest" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37566cb3fdacef14c0737f9546df7cfeadbfbc9fef10991038bf5015d0c80532" -dependencies = [ - "bit-set", - "bit-vec", - "bitflags", - "num-traits", - "rand", - "rand_chacha", - "rand_xorshift", - "regex-syntax", - "rusty-fork", - "tempfile", - "unarray", -] - -[[package]] -name = "quick-error" -version = "1.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" - [[package]] name = "quote" -version = "1.0.44" +version = "1.0.47" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" dependencies = [ "proc-macro2", ] @@ -1520,30 +900,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" [[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - -[[package]] -name = "rand" -version = "0.9.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" -dependencies = [ - "rand_chacha", - "rand_core 0.9.5", -] - -[[package]] -name = "rand_chacha" -version = "0.9.0" +name = "r-efi" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" -dependencies = [ - "ppv-lite86", - "rand_core 0.9.5", -] +checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rand_core" @@ -1551,38 +911,11 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -[[package]] -name = "rand_core" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76afc826de14238e6e8c374ddcc1fa19e374fd8dd986b0d2af0d02377261d83c" -dependencies = [ - "getrandom 0.3.4", -] - -[[package]] -name = "rand_xorshift" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a" -dependencies = [ - "rand_core 0.9.5", -] - -[[package]] -name = "redox_syscall" -version = "0.5.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" -dependencies = [ - "bitflags", -] - [[package]] name = "regex" -version = "1.12.3" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" dependencies = [ "aho-corasick", "memchr", @@ -1592,9 +925,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.14" +version = "0.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e1dd4122fc1595e8162618945476892eefca7b88c52820e74af6262213cae8f" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" dependencies = [ "aho-corasick", "memchr", @@ -1603,21 +936,35 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.9" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "ring" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a96887878f22d7bad8a3b6dc5b7440e0ada9a245242924394987b21cf2210a4c" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" +dependencies = [ + "cc", + "cfg-if", + "getrandom 0.2.17", + "libc", + "untrusted", + "windows-sys 0.52.0", +] [[package]] name = "rustc-hash" -version = "2.1.1" +version = "2.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" +checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" [[package]] name = "rustix" -version = "1.1.4" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +checksum = "e5e76742e5294153d4dde1207dbec5bdd81eef6fabdc0d2118babadabfd858aa" dependencies = [ "bitflags", "errno", @@ -1628,21 +975,9 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" - -[[package]] -name = "rusty-fork" -version = "0.3.1" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2" -dependencies = [ - "fnv", - "quick-error", - "tempfile", - "wait-timeout", -] +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" [[package]] name = "same-file" @@ -1665,16 +1000,6 @@ version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" -[[package]] -name = "semver" -version = "1.0.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" -dependencies = [ - "serde", - "serde_core", -] - [[package]] name = "seq-macro" version = "0.3.6" @@ -1683,9 +1008,9 @@ checksum = "1bc711410fbe7399f390ca1c3b60ad0f53f80e95c5eb935e52268a0e2cd49acc" [[package]] name = "serde" -version = "1.0.228" +version = "1.0.229" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" dependencies = [ "serde_core", "serde_derive", @@ -1703,29 +1028,29 @@ dependencies = [ [[package]] name = "serde_core" -version = "1.0.228" +version = "1.0.229" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.228" +version = "1.0.229" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 3.0.10", ] [[package]] name = "serde_json" -version = "1.0.149" +version = "1.0.154" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" dependencies = [ "itoa", "memchr", @@ -1736,18 +1061,18 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "1.0.4" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8bbf91e5a4d6315eee45e704372590b30e260ee83af6639d64557f51b067776" +checksum = "9c187e0a369471c550af028cba56d4f4fa2a489ad28151ae95a4d340a2a8b782" dependencies = [ "serde_core", ] [[package]] name = "sha2" -version = "0.10.9" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" +checksum = "47d7069beb7d6ac7b9acd1039986e73443f24234f41074da099d6f994ac9ad19" dependencies = [ "cfg-if", "cpufeatures", @@ -1756,119 +1081,72 @@ dependencies = [ [[package]] name = "shlex" -version = "1.3.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" [[package]] -name = "siphasher" -version = "1.0.2" +name = "simdutf8" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2aa850e253778c88a04c3d7323b043aeda9d3e30d5971937c1855769763678e" +checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" [[package]] -name = "smallvec" -version = "1.15.1" +name = "slab" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "snap" -version = "1.1.1" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b6b67fb9a61334225b5b790716f609cd58395f895b3fe8b328786812a40bc3b" +checksum = "199905e6153d6405f9728fe44daace35f8f837bbf830bb6e85fbd5828709a886" [[package]] -name = "socket2" -version = "0.6.2" +name = "syn" +version = "2.0.119" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f4aa3ad99f2088c990dfa82d367e19cb29268ed67c574d10d0a4bfe71f07e0" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" dependencies = [ - "libc", - "windows-sys 0.60.2", + "proc-macro2", + "quote", + "unicode-ident", ] [[package]] -name = "stable_deref_trait" -version = "1.2.1" +name = "syn" +version = "3.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" +checksum = "4ae9ccbea3a7b0b09443036490c8f34a8b1b760fd345e5c0dae0aac718faea79" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] [[package]] -name = "stringprep" -version = "0.1.5" +name = "sysinfo" +version = "0.40.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1" +checksum = "a86bac2f7d06e6384984118ad727f5694110f0ec44d924d05c8fdec3d030bee6" dependencies = [ - "unicode-bidi", - "unicode-normalization", - "unicode-properties", + "libc", + "memchr", + "ntapi", + "objc2-core-foundation", + "objc2-io-kit", + "windows", ] [[package]] -name = "subtle" -version = "2.6.1" +name = "tempfile" +version = "3.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" - -[[package]] -name = "supports-color" -version = "3.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c64fc7232dd8d2e4ac5ce4ef302b1d81e0b80d055b9d77c7c4f51f6aa4c867d6" -dependencies = [ - "is_ci", -] - -[[package]] -name = "syn" -version = "2.0.117" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "synstructure" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "sysinfo" -version = "0.34.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4b93974b3d3aeaa036504b8eefd4c039dced109171c1ae973f1dc63b2c7e4b2" -dependencies = [ - "libc", - "memchr", - "ntapi", - "objc2-core-foundation", - "windows", -] - -[[package]] -name = "tap" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" - -[[package]] -name = "tempfile" -version = "3.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82a72c767771b47409d2345987fda8628641887d5466101319899796367354a0" +checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.4.1", + "getrandom 0.4.3", "once_cell", "rustix", "windows-sys 0.61.2", @@ -1876,53 +1154,34 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.69" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" -dependencies = [ - "thiserror-impl 1.0.69", -] - -[[package]] -name = "thiserror" -version = "2.0.18" +version = "2.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" +checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e" dependencies = [ - "thiserror-impl 2.0.18", + "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.69" +version = "2.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" +checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524" dependencies = [ "proc-macro2", "quote", - "syn", -] - -[[package]] -name = "thiserror-impl" -version = "2.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" -dependencies = [ - "proc-macro2", - "quote", - "syn", + "syn 3.0.10", ] [[package]] name = "thrift" -version = "0.17.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e54bc85fc7faa8bc175c4bab5b92ba8d9a3ce893d0e9f42cc455c8ab16a9e09" +checksum = "1f650151e44bb59950b3adf32de0064813d1148f34f4884b7f5b539f29596859" dependencies = [ "byteorder", "integer-encoding", "ordered-float", + "uuid", ] [[package]] @@ -1934,89 +1193,11 @@ dependencies = [ "crunchy", ] -[[package]] -name = "tinystr" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" -dependencies = [ - "displaydoc", - "zerovec", -] - -[[package]] -name = "tinyvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" -dependencies = [ - "tinyvec_macros", -] - -[[package]] -name = "tinyvec_macros" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" - -[[package]] -name = "tokio" -version = "1.49.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86" -dependencies = [ - "bytes", - "libc", - "mio", - "pin-project-lite", - "socket2", - "windows-sys 0.61.2", -] - -[[package]] -name = "tokio-postgres" -version = "0.7.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcea47c8f71744367793f16c2db1f11cb859d28f436bdb4ca9193eb1f787ee42" -dependencies = [ - "async-trait", - "byteorder", - "bytes", - "fallible-iterator", - "futures-channel", - "futures-util", - "log", - "parking_lot", - "percent-encoding", - "phf", - "pin-project-lite", - "postgres-protocol", - "postgres-types", - "rand", - "socket2", - "tokio", - "tokio-util", - "whoami", -] - -[[package]] -name = "tokio-util" -version = "0.7.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ae9cec805b01e8fc3fd2fe289f89149a9b66dd16786abd8b19cfa7b48cb0098" -dependencies = [ - "bytes", - "futures-core", - "futures-sink", - "pin-project-lite", - "tokio", -] - [[package]] name = "toml" -version = "0.9.12+spec-1.1.0" +version = "1.2.1+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863" +checksum = "d5755c51863cdac711f1956baf8eb9588e060755f7d3c4c979e70ea1e1f32cd7" dependencies = [ "indexmap", "serde_core", @@ -2029,122 +1210,58 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.7.5+spec-1.1.0" +version = "1.1.3+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" +checksum = "173f25c883cd2176a2d8212155638c0a60d484a9d84546d270866f40f56b6e49" dependencies = [ "serde_core", ] [[package]] name = "toml_parser" -version = "1.0.9+spec-1.1.0" +version = "1.1.5+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702d4415e08923e7e1ef96cd5727c0dfed80b4d2fa25db9647fe5eb6f7c5a4c4" +checksum = "baa693a8032d7e1cada7d0041e96126df243179ff061456783ac7f12bda4744c" dependencies = [ "winnow", ] [[package]] name = "toml_writer" -version = "1.0.6+spec-1.1.0" +version = "1.2.0+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab16f14aed21ee8bfd8ec22513f7287cd4a91aa92e44edfe2c17ddd004e92607" +checksum = "009dbb7700f11c55ef83aebbe4c0e9cf1f1ac0844bd8d6f00dc38f302026e13a" [[package]] name = "twox-hash" -version = "2.1.2" +version = "2.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ea3136b675547379c4bd395ca6b938e5ad3c3d20fad76e7fe85f9e0d011419c" +checksum = "86a801b3cea342a06d468c8710662aa29e5e05e4f5c0d62f00bbb7f2ad7941c2" [[package]] name = "typenum" -version = "1.19.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" - -[[package]] -name = "unarray" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" - -[[package]] -name = "unescape" -version = "0.1.0" +version = "1.20.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccb97dac3243214f8d8507998906ca3e2e0b900bf9bf4870477f125b82e68f6e" - -[[package]] -name = "unicode-bidi" -version = "0.3.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" +checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" [[package]] name = "unicode-ident" -version = "1.0.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" - -[[package]] -name = "unicode-normalization" -version = "0.1.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" -dependencies = [ - "tinyvec", -] - -[[package]] -name = "unicode-properties" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d" - -[[package]] -name = "unicode-segmentation" -version = "1.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" - -[[package]] -name = "unicode-width" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" - -[[package]] -name = "unicode-xid" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" - -[[package]] -name = "url" -version = "2.5.8" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" -dependencies = [ - "form_urlencoded", - "idna", - "percent-encoding", - "serde", -] +checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" [[package]] -name = "utf8_iter" -version = "1.0.4" +name = "untrusted" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "uuid" -version = "1.21.0" +version = "1.29.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b672338555252d43fd2240c714dc444b8c6fb0a5c5335e65a07bba7742735ddb" +checksum = "bed99139f7dac9b5cfe5f17be4d66dc7079a34dee1d74bcc77217119240e267c" dependencies = [ - "getrandom 0.4.1", "js-sys", "wasm-bindgen", ] @@ -2155,15 +1272,6 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" -[[package]] -name = "wait-timeout" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11" -dependencies = [ - "libc", -] - [[package]] name = "walkdir" version = "2.5.0" @@ -2180,50 +1288,22 @@ version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" -[[package]] -name = "wasi" -version = "0.14.7+wasi-0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c" -dependencies = [ - "wasip2", -] - [[package]] name = "wasip2" -version = "1.0.2+wasi-0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5" -dependencies = [ - "wit-bindgen", -] - -[[package]] -name = "wasip3" -version = "0.4.0+wasi-0.3.0-rc-2026-01-06" +version = "1.0.4+wasi-0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5428f8bf88ea5ddc08faddef2ac4a67e390b88186c703ce6dbd955e1c145aca5" +checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487" dependencies = [ "wit-bindgen", ] -[[package]] -name = "wasite" -version = "1.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "66fe902b4a6b8028a753d5424909b764ccf79b7a209eac9bf97e59cda9f71a42" -dependencies = [ - "wasi 0.14.7+wasi-0.2.4", -] - [[package]] name = "wasm-bindgen" -version = "0.2.112" +version = "0.2.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05d7d0fce354c88b7982aec4400b3e7fcf723c32737cef571bd165f7613557ee" +checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c" dependencies = [ "cfg-if", - "once_cell", "rustversion", "wasm-bindgen-macro", "wasm-bindgen-shared", @@ -2231,9 +1311,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.112" +version = "0.2.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55839b71ba921e4f75b674cb16f843f4b1f3b26ddfcb3454de1cf65cc021ec0f" +checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2241,83 +1321,26 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.112" +version = "0.2.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "caf2e969c2d60ff52e7e98b7392ff1588bffdd1ccd4769eba27222fd3d621571" +checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a" dependencies = [ "bumpalo", "proc-macro2", "quote", - "syn", + "syn 3.0.10", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.112" +version = "0.2.130" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0861f0dcdf46ea819407495634953cdcc8a8c7215ab799a7a7ce366be71c7b30" +checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e" dependencies = [ "unicode-ident", ] -[[package]] -name = "wasm-encoder" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "990065f2fe63003fe337b932cfb5e3b80e0b4d0f5ff650e6985b1048f62c8319" -dependencies = [ - "leb128fmt", - "wasmparser", -] - -[[package]] -name = "wasm-metadata" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb0e353e6a2fbdc176932bbaab493762eb1255a7900fe0fea1a2f96c296cc909" -dependencies = [ - "anyhow", - "indexmap", - "wasm-encoder", - "wasmparser", -] - -[[package]] -name = "wasmparser" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" -dependencies = [ - "bitflags", - "hashbrown 0.15.5", - "indexmap", - "semver", -] - -[[package]] -name = "web-sys" -version = "0.3.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10053fbf9a374174094915bbce141e87a6bf32ecd9a002980db4b638405e8962" -dependencies = [ - "js-sys", - "wasm-bindgen", -] - -[[package]] -name = "whoami" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6a5b12f9df4f978d2cfdb1bd3bac52433f44393342d7ee9c25f5a1c14c0f45d" -dependencies = [ - "libc", - "libredox", - "objc2-system-configuration", - "wasite", - "web-sys", -] - [[package]] name = "winapi" version = "0.3.9" @@ -2351,46 +1374,69 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows" -version = "0.57.0" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143" +checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580" +dependencies = [ + "windows-collections", + "windows-core", + "windows-future", + "windows-numerics", +] + +[[package]] +name = "windows-collections" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610" dependencies = [ "windows-core", - "windows-targets 0.52.6", ] [[package]] name = "windows-core" -version = "0.57.0" +version = "0.62.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" dependencies = [ "windows-implement", "windows-interface", + "windows-link", "windows-result", - "windows-targets 0.52.6", + "windows-strings", +] + +[[package]] +name = "windows-future" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb" +dependencies = [ + "windows-core", + "windows-link", + "windows-threading", ] [[package]] name = "windows-implement" -version = "0.57.0" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.119", ] [[package]] name = "windows-interface" -version = "0.57.0" +version = "0.59.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.119", ] [[package]] @@ -2399,22 +1445,41 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" +[[package]] +name = "windows-numerics" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26" +dependencies = [ + "windows-core", + "windows-link", +] + [[package]] name = "windows-result" -version = "0.1.2" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" dependencies = [ - "windows-targets 0.52.6", + "windows-link", ] [[package]] name = "windows-sys" -version = "0.60.2" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.53.5", + "windows-targets", ] [[package]] @@ -2432,31 +1497,23 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm 0.52.6", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", + "windows_i686_gnullvm", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", ] [[package]] -name = "windows-targets" -version = "0.53.5" +name = "windows-threading" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" +checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37" dependencies = [ "windows-link", - "windows_aarch64_gnullvm 0.53.1", - "windows_aarch64_msvc 0.53.1", - "windows_i686_gnu 0.53.1", - "windows_i686_gnullvm 0.53.1", - "windows_i686_msvc 0.53.1", - "windows_x86_64_gnu 0.53.1", - "windows_x86_64_gnullvm 0.53.1", - "windows_x86_64_msvc 0.53.1", ] [[package]] @@ -2465,195 +1522,59 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" -[[package]] -name = "windows_aarch64_msvc" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" - [[package]] name = "windows_i686_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" -[[package]] -name = "windows_i686_gnu" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" - [[package]] name = "windows_i686_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" -[[package]] -name = "windows_i686_gnullvm" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" - [[package]] name = "windows_i686_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" -[[package]] -name = "windows_i686_msvc" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" -[[package]] -name = "windows_x86_64_gnu" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" -[[package]] -name = "windows_x86_64_msvc" -version = "0.53.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" - [[package]] name = "winnow" -version = "0.7.14" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829" +checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef" [[package]] name = "wit-bindgen" -version = "0.51.0" +version = "0.57.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5" -dependencies = [ - "wit-bindgen-rust-macro", -] - -[[package]] -name = "wit-bindgen-core" -version = "0.51.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea61de684c3ea68cb082b7a88508a8b27fcc8b797d738bfc99a82facf1d752dc" -dependencies = [ - "anyhow", - "heck", - "wit-parser", -] - -[[package]] -name = "wit-bindgen-rust" -version = "0.51.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7c566e0f4b284dd6561c786d9cb0142da491f46a9fbed79ea69cdad5db17f21" -dependencies = [ - "anyhow", - "heck", - "indexmap", - "prettyplease", - "syn", - "wasm-metadata", - "wit-bindgen-core", - "wit-component", -] - -[[package]] -name = "wit-bindgen-rust-macro" -version = "0.51.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" -dependencies = [ - "anyhow", - "prettyplease", - "proc-macro2", - "quote", - "syn", - "wit-bindgen-core", - "wit-bindgen-rust", -] - -[[package]] -name = "wit-component" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" -dependencies = [ - "anyhow", - "bitflags", - "indexmap", - "log", - "serde", - "serde_derive", - "serde_json", - "wasm-encoder", - "wasm-metadata", - "wasmparser", - "wit-parser", -] - -[[package]] -name = "wit-parser" -version = "0.244.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" -dependencies = [ - "anyhow", - "id-arena", - "indexmap", - "log", - "semver", - "serde", - "serde_derive", - "serde_json", - "unicode-xid", - "wasmparser", -] - -[[package]] -name = "writeable" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" +checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e" [[package]] name = "wyhash" @@ -2661,144 +1582,58 @@ version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf6e163c25e3fac820b4b453185ea2dea3b6a3e0a721d4d23d75bd33734c295" dependencies = [ - "rand_core 0.6.4", -] - -[[package]] -name = "wyz" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" -dependencies = [ - "tap", -] - -[[package]] -name = "yoke" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" -dependencies = [ - "stable_deref_trait", - "yoke-derive", - "zerofrom", -] - -[[package]] -name = "yoke-derive" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", + "rand_core", ] [[package]] name = "zerocopy" -version = "0.8.39" +version = "0.8.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db6d35d663eadb6c932438e763b262fe1a70987f9ae936e60158176d710cae4a" +checksum = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.39" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4122cd3169e94605190e77839c9a40d40ed048d305bfdc146e7df40ab0f3e517" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "zerofrom" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" -dependencies = [ - "zerofrom-derive", -] - -[[package]] -name = "zerofrom-derive" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "synstructure", -] - -[[package]] -name = "zerotrie" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" -dependencies = [ - "displaydoc", - "yoke", - "zerofrom", -] - -[[package]] -name = "zerovec" -version = "0.11.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" -dependencies = [ - "yoke", - "zerofrom", - "zerovec-derive", -] - -[[package]] -name = "zerovec-derive" -version = "0.11.2" +version = "0.8.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" +checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.119", ] [[package]] name = "zmij" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" [[package]] name = "zstd" -version = "0.13.3" +version = "0.13.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a" +checksum = "50adf04cf3ec914b0b9905c9dde90c80fe74bfd701e331fc80a39c512c525278" dependencies = [ "zstd-safe", ] [[package]] name = "zstd-safe" -version = "7.2.4" +version = "7.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d" +checksum = "498d94ad68720c89b4fbe41b9090850651e68cb2dd9210ce7ffbff3a94653819" dependencies = [ "zstd-sys", ] [[package]] name = "zstd-sys" -version = "2.0.16+zstd.1.5.7" +version = "2.1.3+zstd.1.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748" +checksum = "f729a06d0257428fd9d997ac8db7e1407bd0262ab016b085b36bc52957c0052d" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index c4c2b067..74ea935d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pg_deltax" -version = "0.2.0-dotcms.6" +version = "0.2.0-dotcms.7" edition = "2024" resolver = "3" license = "Apache-2.0" @@ -9,10 +9,6 @@ description = "PostgreSQL time-series extension with Gorilla compression" [lib] crate-type = ["cdylib", "lib"] -[[bin]] -name = "pgrx_embed_pg_deltax" -path = "src/bin/pgrx_embed.rs" - [features] default = ["pg17"] pg17 = ["pgrx/pg17", "pgrx-tests/pg17"] @@ -20,21 +16,21 @@ pg18 = ["pgrx/pg18", "pgrx-tests/pg18"] pg_test = [] [dependencies] -pgrx = "0.17" +pgrx = "=0.20.0" serde = { version = "1", features = ["derive"] } serde_json = "1" -lz4_flex = "0.11" +lz4_flex = "0.11.6" memchr = "2" hashbrown = "0.15" ahash = "0.8" cardinality-estimator = "1.0" num_cpus = "1" regex = "1" -parquet = { version = "55", default-features = false, features = ["zstd", "snap"] } +parquet = { version = "58.4.1", default-features = false, features = ["zstd", "snap"] } glob = "0.3" [dev-dependencies] -pgrx-tests = "0.17" +pgrx-tests = "=0.20.0" pg_deltax_test_stubs = { path = "test-stubs" } [profile.dev] diff --git a/docker/Dockerfile b/docker/Dockerfile index 21e284d7..b44595c9 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,7 +8,7 @@ FROM pg_deltax-dev:pg${PG_MAJOR} AS builder COPY --chown=builder:builder . /build/pg_deltax USER builder -RUN cargo pgrx package --pg-config /usr/lib/postgresql/${PG_MAJOR}/bin/pg_config \ +RUN cargo pgrx package --locked --pg-config /usr/lib/postgresql/${PG_MAJOR}/bin/pg_config \ --features pg${PG_MAJOR} --no-default-features # ============================================================================== diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev index 7689ea39..53e29c01 100644 --- a/docker/Dockerfile.dev +++ b/docker/Dockerfile.dev @@ -1,5 +1,5 @@ ARG PG_MAJOR=17 -FROM rust:1-bookworm +FROM rust:1.99.1-bookworm ARG PG_MAJOR=17 @@ -13,14 +13,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get update && apt-get install -y --no-install-recommends \ postgresql-${PG_MAJOR} \ postgresql-server-dev-${PG_MAJOR} \ - pkg-config libssl-dev libclang-dev clang \ + pkg-config libssl-dev libclang-dev clang llvm \ && rm -rf /var/lib/apt/lists/* ENV PATH="/usr/lib/postgresql/${PG_MAJOR}/bin:${PATH}" ENV PG_MAJOR=${PG_MAJOR} RUN rustup component add clippy rustfmt llvm-tools-preview \ - && cargo install cargo-pgrx --version "0.17.0" --locked \ + && cargo install cargo-pgrx --version "0.20.0" --locked \ && cargo install cargo-llvm-cov --locked # Non-root user (initdb refuses root; pgrx test needs initdb) diff --git a/packaging.mk b/packaging.mk index 57d190ca..39ede01c 100644 --- a/packaging.mk +++ b/packaging.mk @@ -16,8 +16,8 @@ PKG_NAME_BASE ?= pg-deltax PGVER ?= 17 TAG ?= v0.0.1-test PKGOUT ?= pkgout -PGRX_VERSION ?= 0.17.0 -BUILDER_IMAGE ?= rust:1-bookworm +PGRX_VERSION ?= 0.20.0 +BUILDER_IMAGE ?= rust:1.99.1-bookworm CNPG_BASE ?= ghcr.io/cloudnative-pg/postgresql:$(PGVER)-minimal-bookworm .PHONY: build verify clean @@ -39,7 +39,7 @@ build: apt-get update; \ apt-get install -y --no-install-recommends \ gnupg2 curl ca-certificates lsb-release \ - build-essential pkg-config libssl-dev libclang-dev clang \ + build-essential pkg-config libssl-dev libclang-dev clang llvm \ dpkg-dev file binutils; \ echo "deb http://apt.postgresql.org/pub/repos/apt $$(lsb_release -cs)-pgdg main" \ >/etc/apt/sources.list.d/pgdg.list; \ @@ -59,7 +59,7 @@ build: cargo install cargo-pgrx --version "$$PGRX_VERSION" --locked; \ PG_CONFIG=/usr/lib/postgresql/$$PGVER/bin/pg_config; \ cargo pgrx init "--pg$$PGVER=$$PG_CONFIG"; \ - cargo pgrx package --pg-config "$$PG_CONFIG" \ + cargo pgrx package --locked --pg-config "$$PG_CONFIG" \ --features "pg$$PGVER" --no-default-features; \ \ PKG_FULL_NAME="$${PKG_NAME_BASE}-pg$${PGVER}_$${deb_version}_$${ARCH}"; \ @@ -91,7 +91,7 @@ verify: bash -euo pipefail -c '\ export DEBIAN_FRONTEND=noninteractive; \ apt-get update; \ - apt-get install -y --no-install-recommends "/payload/$(DEB)"; \ + apt-get install -y --no-install-recommends postgresql-$(PGVER) "/payload/$(DEB)"; \ pg_createcluster $(PGVER) main; \ pg_ctlcluster $(PGVER) main start -o "-c shared_preload_libraries=$(EXT_NAME)"; \ su postgres -c "psql -c \"CREATE EXTENSION $(EXT_NAME);\""; \ diff --git a/src/bin/pgrx_embed.rs b/src/bin/pgrx_embed.rs deleted file mode 100644 index 5f5c4d85..00000000 --- a/src/bin/pgrx_embed.rs +++ /dev/null @@ -1 +0,0 @@ -::pgrx::pgrx_embed!(); diff --git a/src/compress.rs b/src/compress.rs index e3fc1f31..2a9798a4 100644 --- a/src/compress.rs +++ b/src/compress.rs @@ -1437,8 +1437,8 @@ impl FromDatum for JsonbRaw { unsafe { let varlena = datum.cast_mut_ptr::(); let detoasted = pgrx::pg_sys::pg_detoast_datum(varlena); - let total_len = pgrx::varsize_any_exhdr(detoasted); - let data_ptr = pgrx::vardata_any(detoasted).cast::(); + let total_len = pgrx::VARSIZE_ANY_EXHDR!(detoasted).get() as usize; + let data_ptr = pgrx::VARDATA_ANY!(detoasted).get().cast::(); let bytes = std::slice::from_raw_parts(data_ptr, total_len).to_vec(); // pg_detoast_datum allocates a copy in CurrentMemoryContext only // when the datum was actually toasted; free it so a long compress @@ -1497,8 +1497,8 @@ pub(crate) unsafe fn jsonb_text_to_binary(text: &str) -> Vec { pgrx::pg_sys::OidInputFunctionCall(typinput, c_text.as_ptr() as *mut _, typioparam, -1); let varlena = datum.cast_mut_ptr::(); let detoasted = pgrx::pg_sys::pg_detoast_datum(varlena); - let total_len = pgrx::varsize_any_exhdr(detoasted); - let data_ptr = pgrx::vardata_any(detoasted).cast::(); + let total_len = pgrx::VARSIZE_ANY_EXHDR!(detoasted).get() as usize; + let data_ptr = pgrx::VARDATA_ANY!(detoasted).get().cast::(); // Copy into Rust heap before resetting the scratch context. let bytes = std::slice::from_raw_parts(data_ptr, total_len).to_vec(); @@ -1516,12 +1516,12 @@ pub(crate) unsafe fn jsonb_text_to_binary(text: &str) -> Vec { /// Must only be called from the main backend thread. pub(crate) unsafe fn jsonb_binary_to_text(payload: &[u8]) -> String { unsafe { - let total_len = pgrx::pg_sys::VARHDRSZ + payload.len(); + let total_len = pgrx::pg_sys::VARHDRSZ as usize + payload.len(); let varlena = pgrx::pg_sys::palloc(total_len) as *mut pgrx::pg_sys::varlena; - pgrx::set_varsize_4b(varlena, total_len as i32); + pgrx::SET_VARSIZE!(varlena, total_len as i32); std::ptr::copy_nonoverlapping( payload.as_ptr(), - (varlena as *mut u8).add(pgrx::pg_sys::VARHDRSZ), + (varlena as *mut u8).add(pgrx::pg_sys::VARHDRSZ as usize), payload.len(), ); let mut typoutput: pgrx::pg_sys::Oid = pgrx::pg_sys::InvalidOid; @@ -2606,7 +2606,7 @@ fn compress_partition_streaming( use pgrx::datum::DatumWithOid; let insert_sql = format!( "INSERT INTO {} (_col_idx, _segment_id, _data) VALUES ($1, $2, $3)", - &ddl.blobs_fqn + ddl.blobs_fqn ); let args: Vec = vec![ (col_idx as i16).into(), @@ -2631,7 +2631,7 @@ fn compress_partition_streaming( use pgrx::datum::DatumWithOid; let insert_sql = format!( "INSERT INTO {} (_col_idx, _segment_id, _num_hashes, _data) VALUES ($1, $2, $3, $4)", - &ddl.blooms_fqn + ddl.blooms_fqn ); let args: Vec = vec![ (col_idx as i16).into(), @@ -2661,7 +2661,7 @@ fn compress_partition_streaming( use pgrx::datum::DatumWithOid; let insert_sql = format!( "INSERT INTO {} (_col_idx, _segment_id, _data) VALUES ($1, $2, $3)", - &ddl.text_lengths_fqn + ddl.text_lengths_fqn ); let args: Vec = vec![ (col_idx as i16).into(), @@ -2818,7 +2818,7 @@ fn finalize_and_insert_valbitmaps( use pgrx::datum::DatumWithOid; let insert_sql = format!( "INSERT INTO {} (_col_idx, _segment_id, _bits) VALUES ($1, $2, $3)", - &ddl.valbitmap_fqn + ddl.valbitmap_fqn ); let args: Vec = vec![ (col_idx as i16).into(), diff --git a/src/compression/bitpacked.rs b/src/compression/bitpacked.rs index f587505d..87c52999 100644 --- a/src/compression/bitpacked.rs +++ b/src/compression/bitpacked.rs @@ -73,15 +73,15 @@ fn unpack_bits_u32(data: &[u8], count: usize, bits: u8) -> Vec { } 16 => { let mut result = Vec::with_capacity(count); - for chunk in data[..count * 2].chunks_exact(2) { - result.push(u16::from_le_bytes(chunk.try_into().unwrap()) as u32); + for chunk in data[..count * 2].as_chunks::<2>().0 { + result.push(u16::from_le_bytes(*chunk) as u32); } return result; } 32 => { let mut result = Vec::with_capacity(count); - for chunk in data[..count * 4].chunks_exact(4) { - result.push(u32::from_le_bytes(chunk.try_into().unwrap())); + for chunk in data[..count * 4].as_chunks::<4>().0 { + result.push(u32::from_le_bytes(*chunk)); } return result; } @@ -168,22 +168,22 @@ fn unpack_bits_u64(data: &[u8], count: usize, bits: u8) -> Vec { } 16 => { let mut result = Vec::with_capacity(count); - for chunk in data[..count * 2].chunks_exact(2) { - result.push(u16::from_le_bytes(chunk.try_into().unwrap()) as u64); + for chunk in data[..count * 2].as_chunks::<2>().0 { + result.push(u16::from_le_bytes(*chunk) as u64); } return result; } 32 => { let mut result = Vec::with_capacity(count); - for chunk in data[..count * 4].chunks_exact(4) { - result.push(u32::from_le_bytes(chunk.try_into().unwrap()) as u64); + for chunk in data[..count * 4].as_chunks::<4>().0 { + result.push(u32::from_le_bytes(*chunk) as u64); } return result; } 64 => { let mut result = Vec::with_capacity(count); - for chunk in data[..count * 8].chunks_exact(8) { - result.push(u64::from_le_bytes(chunk.try_into().unwrap())); + for chunk in data[..count * 8].as_chunks::<8>().0 { + result.push(u64::from_le_bytes(*chunk)); } return result; } diff --git a/src/copy.rs b/src/copy.rs index f3e2d935..8ea23cea 100644 --- a/src/copy.rs +++ b/src/copy.rs @@ -276,8 +276,7 @@ unsafe extern "C-unwind" fn deltax_process_utility( // every table in its own machinery. Instead we flag the case and // restore our stats after the standard executor returns. let mut restore_stats_after_vacuum = false; - if !utility_stmt.is_null() && unsafe { pgrx::is_a(utility_stmt, pg_sys::NodeTag::T_VacuumStmt) } - { + if !utility_stmt.is_null() && unsafe { pgrx::IsA!(utility_stmt, pg_sys::VacuumStmt) } { unsafe { let vstmt = utility_stmt as *mut pg_sys::VacuumStmt; if (*vstmt).rels.is_null() { @@ -297,19 +296,19 @@ unsafe extern "C-unwind" fn deltax_process_utility( // PG executes). if !utility_stmt.is_null() { let disposition = unsafe { - if pgrx::is_a(utility_stmt, pg_sys::NodeTag::T_AlterTableStmt) { + if pgrx::IsA!(utility_stmt, pg_sys::AlterTableStmt) { Some(crate::ddl::handle_alter_table( utility_stmt as *mut pg_sys::AlterTableStmt, )) - } else if pgrx::is_a(utility_stmt, pg_sys::NodeTag::T_RenameStmt) { + } else if pgrx::IsA!(utility_stmt, pg_sys::RenameStmt) { Some(crate::ddl::handle_rename( utility_stmt as *mut pg_sys::RenameStmt, )) - } else if pgrx::is_a(utility_stmt, pg_sys::NodeTag::T_AlterObjectSchemaStmt) { + } else if pgrx::IsA!(utility_stmt, pg_sys::AlterObjectSchemaStmt) { Some(crate::ddl::handle_alter_object_schema( utility_stmt as *mut pg_sys::AlterObjectSchemaStmt, )) - } else if pgrx::is_a(utility_stmt, pg_sys::NodeTag::T_GrantStmt) { + } else if pgrx::IsA!(utility_stmt, pg_sys::GrantStmt) { Some(crate::ddl::handle_grant( utility_stmt as *mut pg_sys::GrantStmt, )) @@ -345,7 +344,7 @@ unsafe extern "C-unwind" fn deltax_process_utility( } } - if utility_stmt.is_null() || !unsafe { pgrx::is_a(utility_stmt, pg_sys::NodeTag::T_CopyStmt) } { + if utility_stmt.is_null() || !unsafe { pgrx::IsA!(utility_stmt, pg_sys::CopyStmt) } { unsafe { chain_to_prev( pstmt, @@ -535,10 +534,10 @@ fn spi_exec(sql: &str) { /// doesn't need to pfree explicitly. fn bytea_to_datum(data: &[u8]) -> pg_sys::Datum { unsafe { - let len = data.len() + pg_sys::VARHDRSZ; + let len = data.len() + (pg_sys::VARHDRSZ as usize); let varlena = pg_sys::palloc(len) as *mut pg_sys::varlena; - pgrx::set_varsize_4b(varlena, len as i32); - let dest = pgrx::vardata_any(varlena as *const pg_sys::varlena) as *mut u8; + pgrx::SET_VARSIZE!(varlena, len as i32); + let dest = pgrx::VARDATA_ANY!(varlena).get().cast::(); std::ptr::copy_nonoverlapping(data.as_ptr(), dest, data.len()); pg_sys::Datum::from(varlena as usize) } @@ -2706,7 +2705,7 @@ fn flush_partition_blobs(buf: &mut PartitionBuffer, columns: &[ColumnMeta]) { let blobs_oid = *buf .blobs_oid_cached .get_or_insert_with(|| resolve_relation_oid(blobs_fqn)); - let drained: Vec<_> = buf.blob_buffer.drain(..).collect(); + let drained = buf.blob_buffer.drain(..); unsafe { bulk_heap_insert( blobs_oid, @@ -2729,7 +2728,7 @@ fn flush_partition_blobs(buf: &mut PartitionBuffer, columns: &[ColumnMeta]) { let blooms_oid = *buf .blooms_oid_cached .get_or_insert_with(|| resolve_relation_oid(blooms_fqn)); - let drained: Vec<_> = buf.bloom_buffer.drain(..).collect(); + let drained = buf.bloom_buffer.drain(..); unsafe { bulk_heap_insert( blooms_oid, @@ -2753,7 +2752,7 @@ fn flush_partition_blobs(buf: &mut PartitionBuffer, columns: &[ColumnMeta]) { let text_lengths_oid = *buf .text_lengths_oid_cached .get_or_insert_with(|| resolve_relation_oid(text_lengths_fqn)); - let drained: Vec<_> = buf.text_length_buffer.drain(..).collect(); + let drained = buf.text_length_buffer.drain(..); unsafe { bulk_heap_insert( text_lengths_oid, diff --git a/src/copyparquet.rs b/src/copyparquet.rs index 0f617d6f..9f602dd5 100644 --- a/src/copyparquet.rs +++ b/src/copyparquet.rs @@ -329,11 +329,11 @@ fn detect_timestamp_unit( values: &[Option], ) -> TimestampUnit { // If Parquet schema has an explicit timestamp annotation, trust it. - if let Some(LogicalType::Timestamp { unit, .. }) = col_descr.logical_type() { + if let Some(LogicalType::Timestamp { unit, .. }) = col_descr.logical_type_ref() { return match unit { - ParquetTimeUnit::MILLIS(_) => TimestampUnit::Millis, - ParquetTimeUnit::MICROS(_) => TimestampUnit::Micros, - ParquetTimeUnit::NANOS(_) => TimestampUnit::Nanos, + ParquetTimeUnit::MILLIS => TimestampUnit::Millis, + ParquetTimeUnit::MICROS => TimestampUnit::Micros, + ParquetTimeUnit::NANOS => TimestampUnit::Nanos, }; } diff --git a/src/lib.rs b/src/lib.rs index b1aad490..fe0ab112 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -353,6 +353,33 @@ mod tests { let result = Spi::get_one::("SELECT 1").expect("query failed"); assert_eq!(result, Some(1)); } + + #[pg_extern] + fn security_record_second(row: pgrx::composite_type!("record")) -> Option { + row.get_by_index(std::num::NonZeroUsize::new(2).unwrap()) + .unwrap() + } + + // CVE-2026-6460: never reinterpret a stale text attribute as an integer. + #[pg_test(error = "row type of datum tuple was altered after the datum's creation")] + fn test_rejects_stale_composite_datum() { + Spi::run( + "CREATE TYPE security_record AS (label text); + DO $$ + DECLARE stale record; + BEGIN + BEGIN + ALTER TYPE security_record ADD ATTRIBUTE value text; + stale := ROW('fixture', repeat('x', 32))::security_record; + RAISE EXCEPTION 'undo type change'; + EXCEPTION WHEN raise_exception THEN NULL; + END; + ALTER TYPE security_record ADD ATTRIBUTE value bigint; + PERFORM tests.security_record_second(stale); + END $$;", + ) + .unwrap(); + } } #[cfg(test)] diff --git a/src/scan/cost.rs b/src/scan/cost.rs index d56a144a..5cc82cf8 100644 --- a/src/scan/cost.rs +++ b/src/scan/cost.rs @@ -244,7 +244,7 @@ pub(super) unsafe fn get_relpages(rel_oid: pg_sys::Oid) -> i32 { if tuple.is_null() { return 0; } - let rel_form = pg_sys::GETSTRUCT(tuple) as pg_sys::Form_pg_class; + let rel_form = pgrx::GETSTRUCT!(tuple).get() as pg_sys::Form_pg_class; let pages = (*rel_form).relpages; pg_sys::ReleaseSysCache(tuple); pages @@ -808,7 +808,7 @@ pub(super) unsafe fn get_reltuples(rel_oid: pg_sys::Oid) -> f64 { if tuple.is_null() { return 0.0; } - let rel_form = pg_sys::GETSTRUCT(tuple) as pg_sys::Form_pg_class; + let rel_form = pgrx::GETSTRUCT!(tuple).get() as pg_sys::Form_pg_class; let tuples = (*rel_form).reltuples; pg_sys::ReleaseSysCache(tuple); tuples as f64 diff --git a/src/scan/exec/agg/parallel_cd.rs b/src/scan/exec/agg/parallel_cd.rs index 510d1b0f..c40c5f9d 100644 --- a/src/scan/exec/agg/parallel_cd.rs +++ b/src/scan/exec/agg/parallel_cd.rs @@ -150,13 +150,13 @@ fn process_cd_segments(segments: &[SegmentData], config: &ParallelCdConfig) -> P let s = pg_sys::pg_detoast_datum_packed( datum.cast_mut_ptr::(), ); - let len = pgrx::varlena::varsize_any_exhdr(s); + let len = pgrx::VARSIZE_ANY_EXHDR!(s).get() as usize; // `vardata_any` returns `*const c_char`, // which is `i8` on some platforms (e.g. // x86_64-linux) and `u8` on others // (aarch64-darwin). `cast::()` makes the // resulting slice type portable. - let body: *const u8 = pgrx::varlena::vardata_any(s).cast(); + let body: *const u8 = pgrx::VARDATA_ANY!(s).get().cast(); let slice = std::slice::from_raw_parts(body, len); str_sets[si].insert(hash128_str(slice)); } diff --git a/src/scan/exec/batch_qual.rs b/src/scan/exec/batch_qual.rs index 93ab4099..da9f6255 100644 --- a/src/scan/exec/batch_qual.rs +++ b/src/scan/exec/batch_qual.rs @@ -618,8 +618,8 @@ pub(super) unsafe fn extract_batch_quals( let datum = *sa_elems.add(ei); if is_text_in { let varlena_ptr = datum.cast_mut_ptr::(); - let len = pgrx::varsize_any_exhdr(varlena_ptr); - let data = pgrx::vardata_any(varlena_ptr); + let len = pgrx::VARSIZE_ANY_EXHDR!(varlena_ptr).get() as usize; + let data = pgrx::VARDATA_ANY!(varlena_ptr).get(); #[allow(clippy::unnecessary_cast)] let bytes = std::slice::from_raw_parts(data as *const u8, len); match std::str::from_utf8(bytes) { @@ -753,8 +753,8 @@ pub(super) unsafe fn extract_batch_quals( } // Extract pattern string from constant datum let varlena_ptr = (*const_node).constvalue.cast_mut_ptr::(); - let len = pgrx::varsize_any_exhdr(varlena_ptr); - let data = pgrx::vardata_any(varlena_ptr); + let len = pgrx::VARSIZE_ANY_EXHDR!(varlena_ptr).get() as usize; + let data = pgrx::VARDATA_ANY!(varlena_ptr).get(); // Cast needed: vardata_any returns *const i8 on Linux, *const u8 on macOS #[allow(clippy::unnecessary_cast)] let pattern_bytes = std::slice::from_raw_parts(data as *const u8, len); @@ -780,8 +780,8 @@ pub(super) unsafe fn extract_batch_quals( continue; } let varlena_ptr = (*const_node).constvalue.cast_mut_ptr::(); - let len = pgrx::varsize_any_exhdr(varlena_ptr); - let data = pgrx::vardata_any(varlena_ptr); + let len = pgrx::VARSIZE_ANY_EXHDR!(varlena_ptr).get() as usize; + let data = pgrx::VARDATA_ANY!(varlena_ptr).get(); #[allow(clippy::unnecessary_cast)] let const_bytes = std::slice::from_raw_parts(data as *const u8, len); let const_str = match std::str::from_utf8(const_bytes) { diff --git a/src/scan/exec/datum_utils.rs b/src/scan/exec/datum_utils.rs index d5218928..77202d08 100644 --- a/src/scan/exec/datum_utils.rs +++ b/src/scan/exec/datum_utils.rs @@ -1506,7 +1506,7 @@ unsafe fn varlena_arena_alloc(slices: &[&[u8]]) -> Vec { return Vec::new(); } unsafe { - const VARHDRSZ: usize = pg_sys::VARHDRSZ; + const VARHDRSZ: usize = pg_sys::VARHDRSZ as usize; const MAXALIGN: usize = 8; let total_size: usize = slices @@ -1521,7 +1521,7 @@ unsafe fn varlena_arena_alloc(slices: &[&[u8]]) -> Vec { for b in slices { let varlena_ptr = arena.add(offset) as *mut pg_sys::varlena; let total_len = (VARHDRSZ + b.len()) as i32; - pgrx::set_varsize_4b(varlena_ptr, total_len); + pgrx::SET_VARSIZE!(varlena_ptr, total_len); std::ptr::copy_nonoverlapping( b.as_ptr(), (varlena_ptr as *mut u8).add(VARHDRSZ), diff --git a/src/scan/exec/decompress.rs b/src/scan/exec/decompress.rs index 358aa4fd..ab0e12c3 100644 --- a/src/scan/exec/decompress.rs +++ b/src/scan/exec/decompress.rs @@ -1155,10 +1155,10 @@ unsafe fn cmp_text_datums(a: pg_sys::Datum, b: pg_sys::Datum) -> std::cmp::Order unsafe { let a_vl = a.cast_mut_ptr::(); let b_vl = b.cast_mut_ptr::(); - let a_ptr = pgrx::vardata_any(a_vl) as *const std::ffi::c_char; - let a_len = pgrx::varsize_any_exhdr(a_vl) as i32; - let b_ptr = pgrx::vardata_any(b_vl) as *const std::ffi::c_char; - let b_len = pgrx::varsize_any_exhdr(b_vl) as i32; + let a_ptr = pgrx::VARDATA_ANY!(a_vl).get() as *const std::ffi::c_char; + let a_len = (pgrx::VARSIZE_ANY_EXHDR!(a_vl).get() as usize) as i32; + let b_ptr = pgrx::VARDATA_ANY!(b_vl).get() as *const std::ffi::c_char; + let b_len = (pgrx::VARSIZE_ANY_EXHDR!(b_vl).get() as usize) as i32; let result = pg_sys::varstr_cmp(a_ptr, a_len, b_ptr, b_len, pg_sys::DEFAULT_COLLATION_OID); result.cmp(&0) } @@ -1857,7 +1857,7 @@ unsafe fn exec_topn_two_pass( } else if is_text_type(state.col_types[ci]) { // Copy varlena to persistent context let varlena_ptr = d.cast_mut_ptr::(); - let size = pgrx::varsize_any(varlena_ptr); + let size = pgrx::VARSIZE_ANY!(varlena_ptr).get() as usize; let old_mc = pg_sys::MemoryContextSwitchTo(phase1_persist_mcxt); let copy_ptr = pg_sys::palloc(size) as *mut u8; std::ptr::copy_nonoverlapping(varlena_ptr as *const u8, copy_ptr, size); @@ -3100,7 +3100,7 @@ unsafe fn exec_topn_text_sequential( p1_datums.push((ci, pg_sys::Datum::from(0), true)); } else if is_text_type(state.col_types[ci]) { let vl_ptr = d.cast_mut_ptr::(); - let size = pgrx::varsize_any(vl_ptr); + let size = pgrx::VARSIZE_ANY!(vl_ptr).get() as usize; let old_mc = pg_sys::MemoryContextSwitchTo(phase1_persist_mcxt); let copy_ptr = pg_sys::palloc(size) as *mut u8; std::ptr::copy_nonoverlapping(vl_ptr as *const u8, copy_ptr, size); diff --git a/src/scan/exec/segments.rs b/src/scan/exec/segments.rs index 22aa0ea2..0713adc3 100644 --- a/src/scan/exec/segments.rs +++ b/src/scan/exec/segments.rs @@ -332,8 +332,8 @@ unsafe fn primary_key_index_oid(rel: pg_sys::Relation) -> pg_sys::Oid { unsafe fn detoast_varlena_to_vec(varlena_ptr: *mut pg_sys::varlena) -> Vec { unsafe { let detoasted = pg_sys::pg_detoast_datum(varlena_ptr); - let len = pgrx::varsize_any_exhdr(detoasted); - let data = pgrx::vardata_any(detoasted); + let len = pgrx::VARSIZE_ANY_EXHDR!(detoasted).get() as usize; + let data = pgrx::VARDATA_ANY!(detoasted).get(); #[allow(clippy::unnecessary_cast)] let bytes = std::slice::from_raw_parts(data as *const u8, len).to_vec(); if detoasted != varlena_ptr { @@ -496,7 +496,7 @@ unsafe fn reltuples_as_u64(rel_oid: pg_sys::Oid) -> Option { if tuple.is_null() { return None; } - let rel_form = pg_sys::GETSTRUCT(tuple) as pg_sys::Form_pg_class; + let rel_form = pgrx::GETSTRUCT!(tuple).get() as pg_sys::Form_pg_class; let reltuples = (*rel_form).reltuples; pg_sys::ReleaseSysCache(tuple); if reltuples > 0.0 { @@ -3021,8 +3021,8 @@ pub(super) unsafe fn load_segments_heap( let varlena_ptr = (*tts_values.add(dat_att)).cast_mut_ptr::(); let detoasted = pg_sys::pg_detoast_datum(varlena_ptr); - let data_ptr = pgrx::vardata_any(detoasted); - let data_len = pgrx::varsize_any_exhdr(detoasted); + let data_ptr = pgrx::VARDATA_ANY!(detoasted).get(); + let data_len = pgrx::VARSIZE_ANY_EXHDR!(detoasted).get() as usize; #[allow(clippy::unnecessary_cast)] let bloom_bytes = std::slice::from_raw_parts(data_ptr as *const u8, data_len); @@ -3185,8 +3185,8 @@ pub(super) unsafe fn load_segments_heap( let varlena_ptr = (*tts_values.add(bits_a)).cast_mut_ptr::(); let detoasted = pg_sys::pg_detoast_datum(varlena_ptr); - let data_ptr = pgrx::vardata_any(detoasted); - let data_len = pgrx::varsize_any_exhdr(detoasted); + let data_ptr = pgrx::VARDATA_ANY!(detoasted).get(); + let data_len = pgrx::VARSIZE_ANY_EXHDR!(detoasted).get() as usize; #[allow(clippy::unnecessary_cast)] let bits = std::slice::from_raw_parts(data_ptr as *const u8, data_len); @@ -3382,7 +3382,7 @@ pub(super) unsafe fn load_segments_heap( if is_lazy { // Lazy: copy just the TOAST pointer let varlena_ptr = blob_values[2].cast_mut_ptr::(); - let ptr_size = pgrx::varsize_any(varlena_ptr); + let ptr_size = pgrx::VARSIZE_ANY!(varlena_ptr).get() as usize; let mut ptr_copy = vec![0u8; ptr_size]; std::ptr::copy_nonoverlapping( varlena_ptr as *const u8, @@ -3486,7 +3486,7 @@ pub(super) unsafe fn load_segments_heap( if is_lazy { let varlena_ptr = bv[2].cast_mut_ptr::(); - let ptr_size = pgrx::varsize_any(varlena_ptr); + let ptr_size = pgrx::VARSIZE_ANY!(varlena_ptr).get() as usize; let mut ptr_copy = vec![0u8; ptr_size]; std::ptr::copy_nonoverlapping( varlena_ptr as *const u8, diff --git a/src/scan/hook.rs b/src/scan/hook.rs index fe2b3a5a..273c3c02 100644 --- a/src/scan/hook.rs +++ b/src/scan/hook.rs @@ -1550,7 +1550,7 @@ unsafe fn is_op_named( if tup.is_null() { return false; } - let op = pg_sys::GETSTRUCT(tup) as *const pg_sys::FormData_pg_operator; + let op = pgrx::GETSTRUCT!(tup).get() as *const pg_sys::FormData_pg_operator; let ok = (*op).oprresult == expected_result && expected_left.is_none_or(|t| (*op).oprleft == t) && expected_right.is_none_or(|t| (*op).oprright == t); @@ -1793,7 +1793,7 @@ unsafe fn const_is_positive_numeric(c: *const pg_sys::Const) -> bool { // depends on platform/ABI (i8 on x86_64 PG 18, u8 on aarch64). // Cast through `*const u8` so this compiles in both worlds. #[allow(clippy::unnecessary_cast)] - let data = pgrx::vardata_any(detoasted) as *const u8; + let data = pgrx::VARDATA_ANY!(detoasted).get() as *const u8; let header = u16::from_le_bytes([*data, *data.add(1)]); let was_toasted = detoasted != varlena_ptr; if was_toasted { diff --git a/src/scan/json_extract.rs b/src/scan/json_extract.rs index 5a34d0b3..1d9d9471 100644 --- a/src/scan/json_extract.rs +++ b/src/scan/json_extract.rs @@ -256,12 +256,12 @@ unsafe fn pgrx_text_const_to_string(c: *mut pg_sys::Const) -> Option { return None; } let detoasted = pg_sys::pg_detoast_datum(varlena); - let len = pgrx::varsize_any_exhdr(detoasted); + let len = pgrx::VARSIZE_ANY_EXHDR!(detoasted).get() as usize; // `vardata_any` returns `*const c_char`, whose signedness depends on // platform/ABI (i8 on x86_64 PG 18, u8 on aarch64). Cast through // `*const u8` so this compiles in both worlds. #[allow(clippy::unnecessary_cast)] - let data = pgrx::vardata_any(detoasted) as *const u8; + let data = pgrx::VARDATA_ANY!(detoasted).get() as *const u8; let bytes = std::slice::from_raw_parts(data, len); std::str::from_utf8(bytes).ok().map(|s| s.to_string()) } From e9b917f6f6c7f3ef613c0c46e2a9b3af60c9b2ea Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Nov 2026 20:11:11 -0500 Subject: [PATCH 2/9] fix: forward locked builds through cargo-pgrx supported flag --- docker/Dockerfile | 2 +- packaging.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index b44595c9..c6415e91 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,7 +8,7 @@ FROM pg_deltax-dev:pg${PG_MAJOR} AS builder COPY --chown=builder:builder . /build/pg_deltax USER builder -RUN cargo pgrx package --locked --pg-config /usr/lib/postgresql/${PG_MAJOR}/bin/pg_config \ +RUN cargo pgrx package --cargo=--locked --pg-config /usr/lib/postgresql/${PG_MAJOR}/bin/pg_config \ --features pg${PG_MAJOR} --no-default-features # ============================================================================== diff --git a/packaging.mk b/packaging.mk index 39ede01c..d1191f50 100644 --- a/packaging.mk +++ b/packaging.mk @@ -59,7 +59,7 @@ build: cargo install cargo-pgrx --version "$$PGRX_VERSION" --locked; \ PG_CONFIG=/usr/lib/postgresql/$$PGVER/bin/pg_config; \ cargo pgrx init "--pg$$PGVER=$$PG_CONFIG"; \ - cargo pgrx package --locked --pg-config "$$PG_CONFIG" \ + cargo pgrx package --cargo=--locked --pg-config "$$PG_CONFIG" \ --features "pg$$PGVER" --no-default-features; \ \ PKG_FULL_NAME="$${PKG_NAME_BASE}-pg$${PGVER}_$${deb_version}_$${ARCH}"; \ From ee1a743f785ebccc80166659720f747b4bccbbf1 Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Nov 2026 20:12:19 -0500 Subject: [PATCH 3/9] test: exercise PostgreSQL errors in a real backend, not weak stubs --- src/scan/exec/count_minmax.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/scan/exec/count_minmax.rs b/src/scan/exec/count_minmax.rs index 66050886..d90f5e7f 100644 --- a/src/scan/exec/count_minmax.rs +++ b/src/scan/exec/count_minmax.rs @@ -960,8 +960,7 @@ mod tests { assert_eq!(d.value() as i64, -1_234_567_890_123); } - #[test] - #[should_panic] // pgrx::error! payload isn't a plain string; just confirm it panics. + #[pgrx::pg_test(error = "pg_deltax: SUM overflow beyond bigint range")] fn sum_i128_to_datum_overflow_panics_for_int8_result() { // Anything beyond i64::MAX must surface as an error rather than // silently truncate — wrong sum is worse than a query failure. @@ -969,8 +968,7 @@ mod tests { let _ = sum_i128_to_datum(too_big, pg_sys::INT8OID, pg_sys::INT8OID); } - #[test] - #[should_panic] + #[pgrx::pg_test(error = "pg_deltax: SUM overflow beyond bigint range")] fn sum_i128_to_datum_underflow_panics_for_int8_result() { let too_small: i128 = (i64::MIN as i128) - 1; let _ = sum_i128_to_datum(too_small, pg_sys::INT8OID, pg_sys::INT8OID); From 929a566e841d70bb1a08a1dffd0cffa4ac3c8393 Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Nov 2026 20:18:26 -0500 Subject: [PATCH 4/9] fix: provide non-destructive upgrade paths for existing fork catalogs --- sql/pg_deltax--0.2.0--0.2.0-dotcms.7.sql | 2 ++ sql/pg_deltax--0.2.0-dotcms.6--0.2.0-dotcms.7.sql | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 sql/pg_deltax--0.2.0--0.2.0-dotcms.7.sql create mode 100644 sql/pg_deltax--0.2.0-dotcms.6--0.2.0-dotcms.7.sql diff --git a/sql/pg_deltax--0.2.0--0.2.0-dotcms.7.sql b/sql/pg_deltax--0.2.0--0.2.0-dotcms.7.sql new file mode 100644 index 00000000..a009e163 --- /dev/null +++ b/sql/pg_deltax--0.2.0--0.2.0-dotcms.7.sql @@ -0,0 +1,2 @@ +-- Binary security rebuild only; the production fork's SQL objects are unchanged. +-- Preserve existing tables, compressed data, grants and dependent objects. diff --git a/sql/pg_deltax--0.2.0-dotcms.6--0.2.0-dotcms.7.sql b/sql/pg_deltax--0.2.0-dotcms.6--0.2.0-dotcms.7.sql new file mode 100644 index 00000000..a009e163 --- /dev/null +++ b/sql/pg_deltax--0.2.0-dotcms.6--0.2.0-dotcms.7.sql @@ -0,0 +1,2 @@ +-- Binary security rebuild only; the production fork's SQL objects are unchanged. +-- Preserve existing tables, compressed data, grants and dependent objects. From fafbd22b9386d669df617a4551d323534c1049ec Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Nov 2026 20:29:53 -0500 Subject: [PATCH 5/9] test: resolve new ereport symbol without masking backend calls --- test-stubs/stubs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test-stubs/stubs.c b/test-stubs/stubs.c index fbaae08e..802d7ef1 100644 --- a/test-stubs/stubs.c +++ b/test-stubs/stubs.c @@ -174,3 +174,8 @@ __attribute__((weak)) int errmsg(const char *fmt, ...) { (void)fmt; return 0; } __attribute__((weak)) int errstart(int elevel, const char *domain) { (void)elevel; (void)domain; return 0; } __attribute__((weak)) void errstart_cold(void) {} __attribute__((weak)) void pg_re_throw(void) {} +/* New pgrx ereport dependency; regular Rust tests must never call the backend. */ +__attribute__((weak)) _Bool message_level_is_interesting(int elevel) { + (void)elevel; + __builtin_trap(); +} From 8a6f02e9dd259e708431fcbd9a56ca9ca3bea639 Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Nov 2026 20:35:25 -0500 Subject: [PATCH 6/9] test: allow PostgreSQL composite-version metadata after option reset --- tests/test_schema_changes.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_schema_changes.py b/tests/test_schema_changes.py index fac7a9a5..f7a47796 100644 --- a/tests/test_schema_changes.py +++ b/tests/test_schema_changes.py @@ -806,7 +806,9 @@ class TestTier1Sweep: "AT_ResetOptions", "ALTER TABLE metrics ALTER COLUMN temperature SET (n_distinct = 1000)", "ALTER TABLE metrics ALTER COLUMN temperature RESET (n_distinct)", - "SELECT attoptions IS NULL FROM pg_attribute " + # PG18.7 keeps internal pg_attver metadata after RESET. + "SELECT NOT EXISTS (SELECT FROM unnest(attoptions) opt " + "WHERE opt LIKE 'n_distinct=%') FROM pg_attribute " "WHERE attrelid = 'metrics'::regclass AND attname = 'temperature'", True, ), From 4c4cc2e29aa6e90e7ed3f2d9af1fcca8c10a56ca Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Nov 2026 20:42:22 -0500 Subject: [PATCH 7/9] ci: reject vulnerable Rust dependency locks --- .github/workflows/pr-tests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 5e414973..72af8ba2 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -12,6 +12,14 @@ concurrency: cancel-in-progress: true jobs: + dependencies: + name: Rust dependency security + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: aquasecurity/setup-trivy@81e514348e19b6112ce2a7e3ecbafe19c1e1f567 # v0.3.1 + - run: trivy fs --config /dev/null --ignorefile /dev/null --scanners vuln --severity HIGH,CRITICAL --exit-code 1 Cargo.lock + lint: name: Lint (fmt + clippy) runs-on: ubuntu-latest From 7b6c052ddeca1c03ab1aeafe46a5137a3cfa82f3 Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Nov 2026 21:04:03 -0500 Subject: [PATCH 8/9] test: stub new backend allocator and diagnose unresolved unit symbols --- .github/workflows/pr-tests.yml | 6 ++++++ test-stubs/stubs.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-tests.yml b/.github/workflows/pr-tests.yml index 72af8ba2..28f159b1 100644 --- a/.github/workflows/pr-tests.yml +++ b/.github/workflows/pr-tests.yml @@ -50,6 +50,12 @@ jobs: - name: Run unit tests run: make test PG_MAJOR=${{ matrix.pg }} + - name: Diagnose standalone test-loader symbols + if: failure() + run: | + docker run --rm --network none --user root --entrypoint sh \ + -v pg_deltax_target_pg${{ matrix.pg }}:/target:ro pg_deltax-dev:pg${{ matrix.pg }} \ + -c "find /target/debug/deps -maxdepth 1 -name 'pg_deltax-*' -type f -executable -exec nm -u {} \\;" integration: name: Integration Tests (PG ${{ matrix.pg }}) diff --git a/test-stubs/stubs.c b/test-stubs/stubs.c index 802d7ef1..d55e9a45 100644 --- a/test-stubs/stubs.c +++ b/test-stubs/stubs.c @@ -174,7 +174,8 @@ __attribute__((weak)) int errmsg(const char *fmt, ...) { (void)fmt; return 0; } __attribute__((weak)) int errstart(int elevel, const char *domain) { (void)elevel; (void)domain; return 0; } __attribute__((weak)) void errstart_cold(void) {} __attribute__((weak)) void pg_re_throw(void) {} -/* New pgrx ereport dependency; regular Rust tests must never call the backend. */ +/* New pgrx dependencies; regular Rust tests must never call the backend. */ +__attribute__((weak)) void MemoryContextAllocExtended(void) { __builtin_trap(); } __attribute__((weak)) _Bool message_level_is_interesting(int elevel) { (void)elevel; __builtin_trap(); From a26642d0a3bbbe46ccf478f081b1ea177bb86587 Mon Sep 17 00:00:00 2001 From: Will Ezell Date: Thu, 12 Nov 2026 21:13:23 -0500 Subject: [PATCH 9/9] test: resolve complete pgrx standalone loader dependency set --- test-stubs/stubs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test-stubs/stubs.c b/test-stubs/stubs.c index d55e9a45..a9dd0829 100644 --- a/test-stubs/stubs.c +++ b/test-stubs/stubs.c @@ -20,6 +20,7 @@ __attribute__((weak)) void *CurrentMemoryContext = 0; __attribute__((weak)) void *ErrorContext = 0; __attribute__((weak)) void *error_context_stack = 0; __attribute__((weak)) void *get_relation_info_hook = 0; +__attribute__((weak)) volatile unsigned int InterruptHoldoffCount = 0; __attribute__((weak)) int max_parallel_workers_per_gather = 0; __attribute__((weak)) char pgBufferUsage[256] = {0}; __attribute__((weak)) void *PG_exception_stack = 0; @@ -176,6 +177,7 @@ __attribute__((weak)) void errstart_cold(void) {} __attribute__((weak)) void pg_re_throw(void) {} /* New pgrx dependencies; regular Rust tests must never call the backend. */ __attribute__((weak)) void MemoryContextAllocExtended(void) { __builtin_trap(); } +__attribute__((weak)) void MemoryContextRegisterResetCallback(void) { __builtin_trap(); } __attribute__((weak)) _Bool message_level_is_interesting(int elevel) { (void)elevel; __builtin_trap();