Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update version to 0.10.0-beta.0 #1201

Merged
merged 1 commit into from
Jul 8, 2023
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
419 changes: 211 additions & 208 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions 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.9.7"
version = "0.10.0-beta.0"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
Expand All @@ -27,19 +27,19 @@ edition = "2021"
atty = "0.2.14"
cargo_metadata = "0.15.4"
cargo_toml = "0.15.3"
clap = { version = "4.3.9", features = [ "env", "suggestions", "cargo", "derive", "wrap_help" ] }
clap = { version = "4.3.11", features = [ "env", "suggestions", "cargo", "derive", "wrap_help" ] }
clap-cargo = { version = "0.10.0", features = [ "cargo_metadata" ] }
semver = "1.0.17"
owo-colors = { version = "3.5.0", features = [ "supports-colors" ] }
env_proxy = "0.4.1"
num_cpus = "1.16.0"
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.9.7" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.9.7" }
prettyplease = "0.2.9"
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.10.0-beta.0" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.0" }
prettyplease = "0.2.10"
proc-macro2 = { version = "1.0.63", features = [ "span-locations" ] }
quote = "1.0.29"
rayon = "1.7.0"
regex = "1.8.4"
regex = "1.9.1"
ureq = "2.7.1"
url = "2.4.0"
serde = { version = "1.0", features = [ "derive" ] }
Expand Down
4 changes: 2 additions & 2 deletions cargo-pgrx/src/templates/cargo_toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
pg_test = []

[dependencies]
pgrx = "=0.9.7"
pgrx = "=0.10.0-beta.0"

[dev-dependencies]
pgrx-tests = "=0.9.7"
pgrx-tests = "=0.10.0-beta.0"

[profile.dev]
panic = "unwind"
Expand Down
4 changes: 2 additions & 2 deletions nix/templates/default/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
pg_test = []

[dependencies]
pgrx = "=0.9.7"
pgrx = "=0.10.0-beta.0"

[dev-dependencies]
pgrx-tests = "=0.9.7"
pgrx-tests = "=0.10.0-beta.0"
tempfile = "3.2.0"
once_cell = "1.7.2"

Expand Down
2 changes: 1 addition & 1 deletion pgrx-examples/bytea/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pg_test = []

[dependencies]
pgrx = { path = "../../pgrx", default-features = false }
libflate = "1.4.0"
libflate = "2.0.0"

[dev-dependencies]
pgrx-tests = { path = "../../pgrx-tests" }
Expand Down
4 changes: 2 additions & 2 deletions 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.9.7"
version = "0.10.0-beta.0"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "Proc Macros for 'pgrx'"
Expand All @@ -31,7 +31,7 @@ rustc-args = ["--cfg", "docsrs"]
no-schema-generation = ["pgrx-sql-entity-graph/no-schema-generation"]

[dependencies]
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.9.7" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.0" }
proc-macro2 = "1.0.63"
quote = "1.0.29"
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }
Expand Down
4 changes: 2 additions & 2 deletions 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.9.7"
version = "0.10.0-beta.0"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "A Postgres pg_config wrapper for 'pgrx'"
Expand All @@ -30,6 +30,6 @@ owo-colors = "3.5.0"
serde = { version = "1.0", features = [ "derive" ] }
serde_derive = "1.0"
serde_json = "1.0"
toml = "0.7.5"
toml = "0.7.6"
url = "2.4.0"
cargo_toml = "0.15.3"
8 changes: 4 additions & 4 deletions 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.9.7"
version = "0.10.0-beta.0"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"
Expand Down Expand Up @@ -40,16 +40,16 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
memoffset = "0.9.0"
pgrx-macros = { path = "../pgrx-macros/", version = "=0.9.7" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph/", version = "=0.9.7" }
pgrx-macros = { path = "../pgrx-macros/", version = "=0.10.0-beta.0" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph/", version = "=0.10.0-beta.0" }
serde = { version = "1.0", features = [ "derive" ] } # impls on pub types
# polyfill until #![feature(strict_provenance)] stabilizes
sptr = "0.3"
libc = "0.2"

[build-dependencies]
bindgen = { version = "0.66.1", default-features = false, features = ["runtime"] }
pgrx-pg-config= { path = "../pgrx-pg-config/", version = "=0.9.7" }
pgrx-pg-config= { path = "../pgrx-pg-config/", version = "=0.10.0-beta.0" }
proc-macro2 = "1.0.63"
quote = "1.0.29"
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }
Expand Down
52 changes: 37 additions & 15 deletions pgrx-pg-sys/src/pg11.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
//LICENSE
//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
//LICENSE
//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <contact@pgcentral.org>
//LICENSE
//LICENSE All rights reserved.
//LICENSE
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
use crate as pg_sys;
#[cfg(any(
feature = "pg12",
Expand Down Expand Up @@ -336,7 +327,6 @@ pub const SIZEOF_OFF_T: u32 = 8;
pub const SIZEOF_SIZE_T: u32 = 8;
pub const SIZEOF_VOID_P: u32 = 8;
pub const STDC_HEADERS: u32 = 1;
pub const USE_ASSERT_CHECKING: u32 = 1;
pub const USE_DEV_URANDOM: u32 = 1;
pub const USE_FLOAT4_BYVAL: u32 = 1;
pub const USE_FLOAT8_BYVAL: u32 = 1;
Expand Down Expand Up @@ -20563,7 +20553,6 @@ pub struct MemoryContextMethods {
totals: *mut MemoryContextCounters,
),
>,
pub check: ::std::option::Option<unsafe extern "C" fn(context: MemoryContext)>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
Expand Down Expand Up @@ -20670,10 +20659,6 @@ extern "C" {
pub fn MemoryContextAllowInCriticalSection(context: MemoryContext, allow: bool);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn MemoryContextCheck(context: MemoryContext);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn MemoryContextContains(
context: MemoryContext,
Expand Down Expand Up @@ -33083,6 +33068,43 @@ extern "C" {
extern "C" {
pub fn get_language_oid(langname: *const ::std::os::raw::c_char, missing_ok: bool) -> Oid;
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn GetSecurityLabel(
object: *const ObjectAddress,
provider: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn SetSecurityLabel(
object: *const ObjectAddress,
provider: *const ::std::os::raw::c_char,
label: *const ::std::os::raw::c_char,
);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn DeleteSecurityLabel(object: *const ObjectAddress);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn DeleteSharedSecurityLabel(objectId: Oid, classId: Oid);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn ExecSecLabelStmt(stmt: *mut SecLabelStmt) -> ObjectAddress;
}
pub type check_object_relabel_type = ::std::option::Option<
unsafe extern "C" fn(object: *const ObjectAddress, seclabel: *const ::std::os::raw::c_char),
>;
#[pgrx_macros::pg_guard]
extern "C" {
pub fn register_label_provider(
provider: *const ::std::os::raw::c_char,
hook: check_object_relabel_type,
);
}
extern "C" {
pub static mut allow_in_place_tablespaces: bool;
}
Expand Down
9 changes: 0 additions & 9 deletions pgrx-pg-sys/src/pg11_oids.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
//LICENSE
//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
//LICENSE
//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <contact@pgcentral.org>
//LICENSE
//LICENSE All rights reserved.
//LICENSE
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
use crate::NotBuiltinOid;
#[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)]
pub enum BuiltinOid {
Expand Down
52 changes: 37 additions & 15 deletions pgrx-pg-sys/src/pg12.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
//LICENSE
//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
//LICENSE
//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <contact@pgcentral.org>
//LICENSE
//LICENSE All rights reserved.
//LICENSE
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
use crate as pg_sys;
#[cfg(any(
feature = "pg12",
Expand Down Expand Up @@ -344,7 +335,6 @@ pub const SIZEOF_OFF_T: u32 = 8;
pub const SIZEOF_SIZE_T: u32 = 8;
pub const SIZEOF_VOID_P: u32 = 8;
pub const STDC_HEADERS: u32 = 1;
pub const USE_ASSERT_CHECKING: u32 = 1;
pub const USE_DEV_URANDOM: u32 = 1;
pub const USE_FLOAT4_BYVAL: u32 = 1;
pub const USE_FLOAT8_BYVAL: u32 = 1;
Expand Down Expand Up @@ -18999,7 +18989,6 @@ pub struct MemoryContextMethods {
totals: *mut MemoryContextCounters,
),
>,
pub check: ::std::option::Option<unsafe extern "C" fn(context: MemoryContext)>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
Expand Down Expand Up @@ -19106,10 +19095,6 @@ extern "C" {
pub fn MemoryContextAllowInCriticalSection(context: MemoryContext, allow: bool);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn MemoryContextCheck(context: MemoryContext);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn MemoryContextContains(
context: MemoryContext,
Expand Down Expand Up @@ -33131,6 +33116,43 @@ extern "C" {
extern "C" {
pub fn get_language_oid(langname: *const ::std::os::raw::c_char, missing_ok: bool) -> Oid;
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn GetSecurityLabel(
object: *const ObjectAddress,
provider: *const ::std::os::raw::c_char,
) -> *mut ::std::os::raw::c_char;
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn SetSecurityLabel(
object: *const ObjectAddress,
provider: *const ::std::os::raw::c_char,
label: *const ::std::os::raw::c_char,
);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn DeleteSecurityLabel(object: *const ObjectAddress);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn DeleteSharedSecurityLabel(objectId: Oid, classId: Oid);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn ExecSecLabelStmt(stmt: *mut SecLabelStmt) -> ObjectAddress;
}
pub type check_object_relabel_type = ::std::option::Option<
unsafe extern "C" fn(object: *const ObjectAddress, seclabel: *const ::std::os::raw::c_char),
>;
#[pgrx_macros::pg_guard]
extern "C" {
pub fn register_label_provider(
provider: *const ::std::os::raw::c_char,
hook: check_object_relabel_type,
);
}
extern "C" {
pub static mut allow_in_place_tablespaces: bool;
}
Expand Down
9 changes: 0 additions & 9 deletions pgrx-pg-sys/src/pg12_oids.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
//LICENSE
//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
//LICENSE
//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <contact@pgcentral.org>
//LICENSE
//LICENSE All rights reserved.
//LICENSE
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
use crate::NotBuiltinOid;
#[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)]
pub enum BuiltinOid {
Expand Down
Loading