Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cargo-pgrx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ tar = "0.4.44"
ureq = { version = "3.0.10", default-features = false, features = ["gzip", "platform-verifier", "rustls"] }
url.workspace = true
which = "7.0.3"
zip-extract = "0.2.2"
zip = "5.1.1"
postgres = { version = "0.19.10", features = ["with-serde_json-1", "with-uuid-1"] }
uuid = { version = "1.16.0", features = ["v4"] }

Expand Down
2 changes: 1 addition & 1 deletion cargo-pgrx/src/command/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ fn untar(bytes: &[u8], pgrxdir: &Path, pg_config: &PgConfig, init: &Init) -> eyr
{
// it's a zip download from EDB
use std::io::Cursor;
zip_extract::extract(Cursor::new(bytes), &unpackdir, false)?;
zip::ZipArchive::new(Cursor::new(bytes))?.extract(&unpackdir)?;
} else {
let mut tar_decoder = Archive::new(BzDecoder::new(bytes));
tar_decoder.unpack(&unpackdir)?;
Expand Down
4 changes: 2 additions & 2 deletions pgrx-examples/hooks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ unsafe fn register_hooks() {
#[pg_guard]
unsafe extern "C-unwind" fn process_utility_hook(
pstmt: *mut pg_sys::PlannedStmt,
query_string: *const i8,
query_string: *const core::ffi::c_char,
context: pg_sys::ProcessUtilityContext::Type,
params: *mut pg_sys::ParamListInfoData,
query_env: *mut pg_sys::QueryEnvironment,
Expand Down Expand Up @@ -144,7 +144,7 @@ unsafe fn register_hooks() {
#[pg_guard]
unsafe extern "C-unwind" fn process_utility_hook(
pstmt: *mut pg_sys::PlannedStmt,
query_string: *const i8,
query_string: *const core::ffi::c_char,
read_only_tree: bool,
context: pg_sys::ProcessUtilityContext::Type,
params: *mut pg_sys::ParamListInfoData,
Expand Down
Loading