Skip to content

Commit 60baf0a

Browse files
authored
Update version to 0.10.0-beta.0 (#1201)
1 parent 6960448 commit 60baf0a

File tree

22 files changed

+435
-396
lines changed

22 files changed

+435
-396
lines changed

Cargo.lock

Lines changed: 211 additions & 208 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cargo-pgrx/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "cargo-pgrx"
13-
version = "0.9.7"
13+
version = "0.10.0-beta.0"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
@@ -27,19 +27,19 @@ edition = "2021"
2727
atty = "0.2.14"
2828
cargo_metadata = "0.15.4"
2929
cargo_toml = "0.15.3"
30-
clap = { version = "4.3.9", features = [ "env", "suggestions", "cargo", "derive", "wrap_help" ] }
30+
clap = { version = "4.3.11", features = [ "env", "suggestions", "cargo", "derive", "wrap_help" ] }
3131
clap-cargo = { version = "0.10.0", features = [ "cargo_metadata" ] }
3232
semver = "1.0.17"
3333
owo-colors = { version = "3.5.0", features = [ "supports-colors" ] }
3434
env_proxy = "0.4.1"
3535
num_cpus = "1.16.0"
36-
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.9.7" }
37-
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.9.7" }
38-
prettyplease = "0.2.9"
36+
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.10.0-beta.0" }
37+
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.0" }
38+
prettyplease = "0.2.10"
3939
proc-macro2 = { version = "1.0.63", features = [ "span-locations" ] }
4040
quote = "1.0.29"
4141
rayon = "1.7.0"
42-
regex = "1.8.4"
42+
regex = "1.9.1"
4343
ureq = "2.7.1"
4444
url = "2.4.0"
4545
serde = { version = "1.0", features = [ "derive" ] }

cargo-pgrx/src/templates/cargo_toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
1717
pg_test = []
1818

1919
[dependencies]
20-
pgrx = "=0.9.7"
20+
pgrx = "=0.10.0-beta.0"
2121

2222
[dev-dependencies]
23-
pgrx-tests = "=0.9.7"
23+
pgrx-tests = "=0.10.0-beta.0"
2424

2525
[profile.dev]
2626
panic = "unwind"

nix/templates/default/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
2727
pg_test = []
2828

2929
[dependencies]
30-
pgrx = "=0.9.7"
30+
pgrx = "=0.10.0-beta.0"
3131

3232
[dev-dependencies]
33-
pgrx-tests = "=0.9.7"
33+
pgrx-tests = "=0.10.0-beta.0"
3434
tempfile = "3.2.0"
3535
once_cell = "1.7.2"
3636

pgrx-examples/bytea/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pg_test = []
2828

2929
[dependencies]
3030
pgrx = { path = "../../pgrx", default-features = false }
31-
libflate = "1.4.0"
31+
libflate = "2.0.0"
3232

3333
[dev-dependencies]
3434
pgrx-tests = { path = "../../pgrx-tests" }

pgrx-macros/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "pgrx-macros"
13-
version = "0.9.7"
13+
version = "0.10.0-beta.0"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "Proc Macros for 'pgrx'"
@@ -31,7 +31,7 @@ rustc-args = ["--cfg", "docsrs"]
3131
no-schema-generation = ["pgrx-sql-entity-graph/no-schema-generation"]
3232

3333
[dependencies]
34-
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.9.7" }
34+
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.0" }
3535
proc-macro2 = "1.0.63"
3636
quote = "1.0.29"
3737
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }

pgrx-pg-config/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "pgrx-pg-config"
13-
version = "0.9.7"
13+
version = "0.10.0-beta.0"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "A Postgres pg_config wrapper for 'pgrx'"
@@ -30,6 +30,6 @@ owo-colors = "3.5.0"
3030
serde = { version = "1.0", features = [ "derive" ] }
3131
serde_derive = "1.0"
3232
serde_json = "1.0"
33-
toml = "0.7.5"
33+
toml = "0.7.6"
3434
url = "2.4.0"
3535
cargo_toml = "0.15.3"

pgrx-pg-sys/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "pgrx-pg-sys"
13-
version = "0.9.7"
13+
version = "0.10.0-beta.0"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"
@@ -40,16 +40,16 @@ rustdoc-args = ["--cfg", "docsrs"]
4040

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

5050
[build-dependencies]
5151
bindgen = { version = "0.66.1", default-features = false, features = ["runtime"] }
52-
pgrx-pg-config= { path = "../pgrx-pg-config/", version = "=0.9.7" }
52+
pgrx-pg-config= { path = "../pgrx-pg-config/", version = "=0.10.0-beta.0" }
5353
proc-macro2 = "1.0.63"
5454
quote = "1.0.29"
5555
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }

pgrx-pg-sys/src/pg11.rs

Lines changed: 37 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
2-
//LICENSE
3-
//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
4-
//LICENSE
5-
//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <[email protected]>
6-
//LICENSE
7-
//LICENSE All rights reserved.
8-
//LICENSE
9-
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
101
use crate as pg_sys;
112
#[cfg(any(
123
feature = "pg12",
@@ -336,7 +327,6 @@ pub const SIZEOF_OFF_T: u32 = 8;
336327
pub const SIZEOF_SIZE_T: u32 = 8;
337328
pub const SIZEOF_VOID_P: u32 = 8;
338329
pub const STDC_HEADERS: u32 = 1;
339-
pub const USE_ASSERT_CHECKING: u32 = 1;
340330
pub const USE_DEV_URANDOM: u32 = 1;
341331
pub const USE_FLOAT4_BYVAL: u32 = 1;
342332
pub const USE_FLOAT8_BYVAL: u32 = 1;
@@ -20563,7 +20553,6 @@ pub struct MemoryContextMethods {
2056320553
totals: *mut MemoryContextCounters,
2056420554
),
2056520555
>,
20566-
pub check: ::std::option::Option<unsafe extern "C" fn(context: MemoryContext)>,
2056720556
}
2056820557
#[repr(C)]
2056920558
#[derive(Debug, Copy, Clone)]
@@ -20670,10 +20659,6 @@ extern "C" {
2067020659
pub fn MemoryContextAllowInCriticalSection(context: MemoryContext, allow: bool);
2067120660
}
2067220661
#[pgrx_macros::pg_guard]
20673-
extern "C" {
20674-
pub fn MemoryContextCheck(context: MemoryContext);
20675-
}
20676-
#[pgrx_macros::pg_guard]
2067720662
extern "C" {
2067820663
pub fn MemoryContextContains(
2067920664
context: MemoryContext,
@@ -33083,6 +33068,43 @@ extern "C" {
3308333068
extern "C" {
3308433069
pub fn get_language_oid(langname: *const ::std::os::raw::c_char, missing_ok: bool) -> Oid;
3308533070
}
33071+
#[pgrx_macros::pg_guard]
33072+
extern "C" {
33073+
pub fn GetSecurityLabel(
33074+
object: *const ObjectAddress,
33075+
provider: *const ::std::os::raw::c_char,
33076+
) -> *mut ::std::os::raw::c_char;
33077+
}
33078+
#[pgrx_macros::pg_guard]
33079+
extern "C" {
33080+
pub fn SetSecurityLabel(
33081+
object: *const ObjectAddress,
33082+
provider: *const ::std::os::raw::c_char,
33083+
label: *const ::std::os::raw::c_char,
33084+
);
33085+
}
33086+
#[pgrx_macros::pg_guard]
33087+
extern "C" {
33088+
pub fn DeleteSecurityLabel(object: *const ObjectAddress);
33089+
}
33090+
#[pgrx_macros::pg_guard]
33091+
extern "C" {
33092+
pub fn DeleteSharedSecurityLabel(objectId: Oid, classId: Oid);
33093+
}
33094+
#[pgrx_macros::pg_guard]
33095+
extern "C" {
33096+
pub fn ExecSecLabelStmt(stmt: *mut SecLabelStmt) -> ObjectAddress;
33097+
}
33098+
pub type check_object_relabel_type = ::std::option::Option<
33099+
unsafe extern "C" fn(object: *const ObjectAddress, seclabel: *const ::std::os::raw::c_char),
33100+
>;
33101+
#[pgrx_macros::pg_guard]
33102+
extern "C" {
33103+
pub fn register_label_provider(
33104+
provider: *const ::std::os::raw::c_char,
33105+
hook: check_object_relabel_type,
33106+
);
33107+
}
3308633108
extern "C" {
3308733109
pub static mut allow_in_place_tablespaces: bool;
3308833110
}

pgrx-pg-sys/src/pg11_oids.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
//LICENSE Portions Copyright 2019-2021 ZomboDB, LLC.
2-
//LICENSE
3-
//LICENSE Portions Copyright 2021-2023 Technology Concepts & Design, Inc.
4-
//LICENSE
5-
//LICENSE Portions Copyright 2023-2023 PgCentral Foundation, Inc. <[email protected]>
6-
//LICENSE
7-
//LICENSE All rights reserved.
8-
//LICENSE
9-
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
101
use crate::NotBuiltinOid;
112
#[derive(Copy, Clone, Eq, PartialEq, Hash, Ord, PartialOrd, Debug)]
123
pub enum BuiltinOid {

0 commit comments

Comments
 (0)