-
-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update version to 0.10.0-beta.0 (#1201)
- Loading branch information
1 parent
6960448
commit 60baf0a
Showing
22 changed files
with
435 additions
and
396 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
[package] | ||
name = "cargo-pgrx" | ||
version = "0.9.7" | ||
version = "0.10.0-beta.0" | ||
authors = ["PgCentral Foundation, Inc. <[email protected]>"] | ||
license = "MIT" | ||
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy" | ||
|
@@ -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" ] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
[package] | ||
name = "pgrx-macros" | ||
version = "0.9.7" | ||
version = "0.10.0-beta.0" | ||
authors = ["PgCentral Foundation, Inc. <[email protected]>"] | ||
license = "MIT" | ||
description = "Proc Macros for 'pgrx'" | ||
|
@@ -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" ] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
[package] | ||
name = "pgrx-pg-config" | ||
version = "0.9.7" | ||
version = "0.10.0-beta.0" | ||
authors = ["PgCentral Foundation, Inc. <[email protected]>"] | ||
license = "MIT" | ||
description = "A Postgres pg_config wrapper for 'pgrx'" | ||
|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
[package] | ||
name = "pgrx-pg-sys" | ||
version = "0.9.7" | ||
version = "0.10.0-beta.0" | ||
authors = ["PgCentral Foundation, Inc. <[email protected]>"] | ||
license = "MIT" | ||
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'" | ||
|
@@ -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" ] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. <[email protected]> | ||
//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", | ||
|
@@ -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; | ||
|
@@ -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)] | ||
|
@@ -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, | ||
|
@@ -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; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. <[email protected]> | ||
//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 { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. <[email protected]> | ||
//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", | ||
|
@@ -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; | ||
|
@@ -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)] | ||
|
@@ -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, | ||
|
@@ -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; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. <[email protected]> | ||
//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 { | ||
|
Oops, something went wrong.