Skip to content
Merged
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
20 changes: 10 additions & 10 deletions Cargo.lock

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

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ repository = "https://github.com/pgcentralfoundation/pgrx/"
homepage = "https://github.com/pgcentralfoundation/pgrx/"
# TODO: all crates should use this version rather than copy it
# See https://github.com/pgcentralfoundation/pgrx/pull/2100 comments
version = "0.18.1"
version = "0.19.0"

[workspace.metadata.local-install]
cargo-pgrx = { path = "cargo-pgrx" }

[workspace.dependencies]
pgrx-bench = { path = "./pgrx-bench", version = "=0.18.1" }
pgrx-macros = { path = "./pgrx-macros", version = "=0.18.1" }
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.18.1" }
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.18.1" }
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.18.1" }
pgrx-bindgen = { path = "./pgrx-bindgen", version = "=0.18.1" }
pgrx-bench = { path = "./pgrx-bench", version = "=0.19.0" }
pgrx-macros = { path = "./pgrx-macros", version = "=0.19.0" }
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.19.0" }
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.19.0" }
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.19.0" }
pgrx-bindgen = { path = "./pgrx-bindgen", version = "=0.19.0" }

cargo_metadata = "0.23.1"
cargo_toml = "0.22" # used for building projects
Expand Down
2 changes: 1 addition & 1 deletion cargo-pgrx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "cargo-pgrx"
version = "0.18.1"
version = "0.19.0"
authors.workspace = true
license.workspace = true
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
Expand Down
6 changes: 3 additions & 3 deletions cargo-pgrx/src/templates/cargo_toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ pg_test = []
pg_bench = ["dep:pgrx-bench"]

[dependencies]
pgrx = "=0.18.1"
pgrx = "=0.19.0"

[dependencies.pgrx-bench]
version = "=0.18.1"
version = "=0.19.0"
optional = true

[dev-dependencies]
[dev-dependencies.pgrx-tests]
version = "=0.18.1"
version = "=0.19.0"

[profile.dev]
panic = "unwind"
Expand Down
12 changes: 6 additions & 6 deletions cargo-pgrx/tests/fixtures/workspace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = "2024"
rust-version = "1.96"

[workspace.dependencies]
pgrx = "=0.18.0"
pgrx-bench = "=0.18.0"
pgrx-macros = "=0.18.0"
pgrx-pg-sys = "=0.18.0"
pgrx-sql-entity-graph = { version = "=0.18.0" }
pgrx-pg-config = { version = "=0.18.0" }
pgrx = "=0.19.0"
pgrx-bench = "=0.19.0"
pgrx-macros = "=0.19.0"
pgrx-pg-sys = "=0.19.0"
pgrx-sql-entity-graph = { version = "=0.19.0" }
pgrx-pg-config = { version = "=0.19.0" }
2 changes: 1 addition & 1 deletion cargo-pgrx/tests/fixtures/workspace/hello/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ workspace = true

[dev-dependencies]
[dev-dependencies.pgrx-tests]
version = "=0.18.0"
version = "=0.19.0"

[profile.dev]
panic = "unwind"
Expand Down
2 changes: 1 addition & 1 deletion pgrx-bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-bench"
version = "0.18.1"
version = "0.19.0"
authors.workspace = true
license.workspace = true
description = "Benchmark runtime support for pgrx extensions"
Expand Down
2 changes: 1 addition & 1 deletion pgrx-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pgrx-bindgen"
description = "additional bindgen support for pgrx"
version = "0.18.1"
version = "0.19.0"
edition.workspace = true
rust-version.workspace = true
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion pgrx-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-macros"
version = "0.18.1"
version = "0.19.0"
authors.workspace = true
license.workspace = true
description = "Proc Macros for 'pgrx'"
Expand Down
2 changes: 1 addition & 1 deletion pgrx-pg-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-pg-config"
version = "0.18.1"
version = "0.19.0"
authors.workspace = true
license.workspace = true
description = "A Postgres pg_config wrapper for 'pgrx'"
Expand Down
2 changes: 1 addition & 1 deletion pgrx-pg-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-pg-sys"
version = "0.18.1"
version = "0.19.0"
authors.workspace = true
license.workspace = true
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"
Expand Down
26 changes: 26 additions & 0 deletions pgrx-pg-sys/src/include/pg13.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23450,6 +23450,16 @@ impl Default for ControlFileData {
}
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone)]
pub struct PGLZ_Strategy {
pub min_input_size: int32,
pub max_input_size: int32,
pub min_comp_rate: int32,
pub first_success_by: int32,
pub match_size_good: int32,
pub match_size_drop: int32,
}
pub type bgworker_main_type = ::core::option::Option<unsafe extern "C-unwind" fn(main_arg: Datum)>;
pub mod BgWorkerStartTime {
pub type Type = ::core::ffi::c_uint;
Expand Down Expand Up @@ -37869,6 +37879,22 @@ unsafe extern "C-unwind" {
ControlFile: *mut ControlFileData,
do_sync: bool,
);
pub static PGLZ_strategy_default: *const PGLZ_Strategy;
pub static PGLZ_strategy_always: *const PGLZ_Strategy;
pub fn pglz_compress(
source: *const ::core::ffi::c_char,
slen: int32,
dest: *mut ::core::ffi::c_char,
strategy: *const PGLZ_Strategy,
) -> int32;
pub fn pglz_decompress(
source: *const ::core::ffi::c_char,
slen: int32,
dest: *mut ::core::ffi::c_char,
rawsize: int32,
check_complete: bool,
) -> int32;
pub fn pglz_maximum_compressed_size(rawsize: int32, total_compressed_size: int32) -> int32;
pub fn RegisterBackgroundWorker(worker: *mut BackgroundWorker);
pub fn RegisterDynamicBackgroundWorker(
worker: *mut BackgroundWorker,
Expand Down
26 changes: 26 additions & 0 deletions pgrx-pg-sys/src/include/pg14.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24615,6 +24615,16 @@ impl Default for ControlFileData {
}
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone)]
pub struct PGLZ_Strategy {
pub min_input_size: int32,
pub max_input_size: int32,
pub min_comp_rate: int32,
pub first_success_by: int32,
pub match_size_good: int32,
pub match_size_drop: int32,
}
pub type bgworker_main_type = ::core::option::Option<unsafe extern "C-unwind" fn(main_arg: Datum)>;
pub mod BgWorkerStartTime {
pub type Type = ::core::ffi::c_uint;
Expand Down Expand Up @@ -40012,6 +40022,22 @@ unsafe extern "C-unwind" {
ControlFile: *mut ControlFileData,
do_sync: bool,
);
pub static PGLZ_strategy_default: *const PGLZ_Strategy;
pub static PGLZ_strategy_always: *const PGLZ_Strategy;
pub fn pglz_compress(
source: *const ::core::ffi::c_char,
slen: int32,
dest: *mut ::core::ffi::c_char,
strategy: *const PGLZ_Strategy,
) -> int32;
pub fn pglz_decompress(
source: *const ::core::ffi::c_char,
slen: int32,
dest: *mut ::core::ffi::c_char,
rawsize: int32,
check_complete: bool,
) -> int32;
pub fn pglz_maximum_compressed_size(rawsize: int32, total_compressed_size: int32) -> int32;
pub fn RegisterBackgroundWorker(worker: *mut BackgroundWorker);
pub fn RegisterDynamicBackgroundWorker(
worker: *mut BackgroundWorker,
Expand Down
26 changes: 26 additions & 0 deletions pgrx-pg-sys/src/include/pg15.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24918,6 +24918,16 @@ impl Default for ConfigData {
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone)]
pub struct PGLZ_Strategy {
pub min_input_size: int32,
pub max_input_size: int32,
pub min_comp_rate: int32,
pub first_success_by: int32,
pub match_size_good: int32,
pub match_size_drop: int32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AggStatePerTransData {
pub aggref: *mut Aggref,
Expand Down Expand Up @@ -40706,6 +40716,22 @@ unsafe extern "C-unwind" {
ControlFile: *mut ControlFileData,
do_sync: bool,
);
pub static PGLZ_strategy_default: *const PGLZ_Strategy;
pub static PGLZ_strategy_always: *const PGLZ_Strategy;
pub fn pglz_compress(
source: *const ::core::ffi::c_char,
slen: int32,
dest: *mut ::core::ffi::c_char,
strategy: *const PGLZ_Strategy,
) -> int32;
pub fn pglz_decompress(
source: *const ::core::ffi::c_char,
slen: int32,
dest: *mut ::core::ffi::c_char,
rawsize: int32,
check_complete: bool,
) -> int32;
pub fn pglz_maximum_compressed_size(rawsize: int32, total_compressed_size: int32) -> int32;
pub fn ExecInitAgg(
node: *mut Agg,
estate: *mut EState,
Expand Down
26 changes: 26 additions & 0 deletions pgrx-pg-sys/src/include/pg16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25598,6 +25598,16 @@ impl Default for ConfigData {
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone)]
pub struct PGLZ_Strategy {
pub min_input_size: int32,
pub max_input_size: int32,
pub min_comp_rate: int32,
pub first_success_by: int32,
pub match_size_good: int32,
pub match_size_drop: int32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AggStatePerTransData {
pub aggref: *mut Aggref,
Expand Down Expand Up @@ -42002,6 +42012,22 @@ unsafe extern "C-unwind" {
ControlFile: *mut ControlFileData,
do_sync: bool,
);
pub static PGLZ_strategy_default: *const PGLZ_Strategy;
pub static PGLZ_strategy_always: *const PGLZ_Strategy;
pub fn pglz_compress(
source: *const ::core::ffi::c_char,
slen: int32,
dest: *mut ::core::ffi::c_char,
strategy: *const PGLZ_Strategy,
) -> int32;
pub fn pglz_decompress(
source: *const ::core::ffi::c_char,
slen: int32,
dest: *mut ::core::ffi::c_char,
rawsize: int32,
check_complete: bool,
) -> int32;
pub fn pglz_maximum_compressed_size(rawsize: int32, total_compressed_size: int32) -> int32;
pub fn ExecInitAgg(
node: *mut Agg,
estate: *mut EState,
Expand Down
Loading
Loading