Skip to content

Commit 4e21c18

Browse files
authored
Update version to 0.10.0-beta.1 (#1213)
1 parent 076988c commit 4e21c18

File tree

16 files changed

+158
-99
lines changed

16 files changed

+158
-99
lines changed

Cargo.lock

Lines changed: 60 additions & 60 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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "cargo-pgrx"
13-
version = "0.10.0-beta.0"
13+
version = "0.10.0-beta.1"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
@@ -33,10 +33,10 @@ 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.10.0-beta.0" }
37-
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.0" }
36+
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.10.0-beta.1" }
37+
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.1" }
3838
prettyplease = "0.2.10"
39-
proc-macro2 = { version = "1.0.63", features = [ "span-locations" ] }
39+
proc-macro2 = { version = "1.0.64", features = [ "span-locations" ] }
4040
quote = "1.0.29"
4141
rayon = "1.7.0"
4242
regex = "1.9.1"

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.10.0-beta.0"
20+
pgrx = "=0.10.0-beta.1"
2121

2222
[dev-dependencies]
23-
pgrx-tests = "=0.10.0-beta.0"
23+
pgrx-tests = "=0.10.0-beta.1"
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.10.0-beta.0"
30+
pgrx = "=0.10.0-beta.1"
3131

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

pgrx-macros/Cargo.toml

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

1111
[package]
1212
name = "pgrx-macros"
13-
version = "0.10.0-beta.0"
13+
version = "0.10.0-beta.1"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "Proc Macros for 'pgrx'"
@@ -31,8 +31,8 @@ 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.10.0-beta.0" }
35-
proc-macro2 = "1.0.63"
34+
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.1" }
35+
proc-macro2 = "1.0.64"
3636
quote = "1.0.29"
3737
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }
3838

pgrx-pg-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "pgrx-pg-config"
13-
version = "0.10.0-beta.0"
13+
version = "0.10.0-beta.1"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "A Postgres pg_config wrapper for 'pgrx'"

pgrx-pg-sys/Cargo.toml

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

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

4141
[dependencies]
4242
memoffset = "0.9.0"
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" }
43+
pgrx-macros = { path = "../pgrx-macros/", version = "=0.10.0-beta.1" }
44+
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph/", version = "=0.10.0-beta.1" }
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.10.0-beta.0" }
53-
proc-macro2 = "1.0.63"
52+
pgrx-pg-config= { path = "../pgrx-pg-config/", version = "=0.10.0-beta.1" }
53+
proc-macro2 = "1.0.64"
5454
quote = "1.0.29"
5555
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }
5656
eyre = "0.6.8"

pgrx-pg-sys/src/pg11.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@ pub const SIZEOF_OFF_T: u32 = 8;
327327
pub const SIZEOF_SIZE_T: u32 = 8;
328328
pub const SIZEOF_VOID_P: u32 = 8;
329329
pub const STDC_HEADERS: u32 = 1;
330+
pub const USE_ASSERT_CHECKING: u32 = 1;
330331
pub const USE_DEV_URANDOM: u32 = 1;
331332
pub const USE_FLOAT4_BYVAL: u32 = 1;
332333
pub const USE_FLOAT8_BYVAL: u32 = 1;
@@ -732,9 +733,9 @@ pub const LC_IDENTIFICATION_MASK: u32 = 4096;
732733
pub const LC_ALL_MASK: u32 = 8127;
733734
pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1;
734735
pub const HAVE_PRAGMA_GCC_SYSTEM_HEADER: u32 = 1;
736+
pub const __bool_true_false_are_defined: u32 = 1;
735737
pub const true_: u32 = 1;
736738
pub const false_: u32 = 0;
737-
pub const __bool_true_false_are_defined: u32 = 1;
738739
pub const USE_STDBOOL: u32 = 1;
739740
pub const INT64_FORMAT: &[u8; 4] = b"%ld\0";
740741
pub const UINT64_FORMAT: &[u8; 4] = b"%lu\0";
@@ -20553,6 +20554,7 @@ pub struct MemoryContextMethods {
2055320554
totals: *mut MemoryContextCounters,
2055420555
),
2055520556
>,
20557+
pub check: ::std::option::Option<unsafe extern "C" fn(context: MemoryContext)>,
2055620558
}
2055720559
#[repr(C)]
2055820560
#[derive(Debug, Copy, Clone)]
@@ -20659,6 +20661,10 @@ extern "C" {
2065920661
pub fn MemoryContextAllowInCriticalSection(context: MemoryContext, allow: bool);
2066020662
}
2066120663
#[pgrx_macros::pg_guard]
20664+
extern "C" {
20665+
pub fn MemoryContextCheck(context: MemoryContext);
20666+
}
20667+
#[pgrx_macros::pg_guard]
2066220668
extern "C" {
2066320669
pub fn MemoryContextContains(
2066420670
context: MemoryContext,

pgrx-pg-sys/src/pg12.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ pub const SIZEOF_OFF_T: u32 = 8;
335335
pub const SIZEOF_SIZE_T: u32 = 8;
336336
pub const SIZEOF_VOID_P: u32 = 8;
337337
pub const STDC_HEADERS: u32 = 1;
338+
pub const USE_ASSERT_CHECKING: u32 = 1;
338339
pub const USE_DEV_URANDOM: u32 = 1;
339340
pub const USE_FLOAT4_BYVAL: u32 = 1;
340341
pub const USE_FLOAT8_BYVAL: u32 = 1;
@@ -740,9 +741,9 @@ pub const LC_IDENTIFICATION_MASK: u32 = 4096;
740741
pub const LC_ALL_MASK: u32 = 8127;
741742
pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1;
742743
pub const HAVE_PRAGMA_GCC_SYSTEM_HEADER: u32 = 1;
744+
pub const __bool_true_false_are_defined: u32 = 1;
743745
pub const true_: u32 = 1;
744746
pub const false_: u32 = 0;
745-
pub const __bool_true_false_are_defined: u32 = 1;
746747
pub const USE_STDBOOL: u32 = 1;
747748
pub const INT64_FORMAT: &[u8; 4] = b"%ld\0";
748749
pub const UINT64_FORMAT: &[u8; 4] = b"%lu\0";
@@ -18989,6 +18990,7 @@ pub struct MemoryContextMethods {
1898918990
totals: *mut MemoryContextCounters,
1899018991
),
1899118992
>,
18993+
pub check: ::std::option::Option<unsafe extern "C" fn(context: MemoryContext)>,
1899218994
}
1899318995
#[repr(C)]
1899418996
#[derive(Debug, Copy, Clone)]
@@ -19095,6 +19097,10 @@ extern "C" {
1909519097
pub fn MemoryContextAllowInCriticalSection(context: MemoryContext, allow: bool);
1909619098
}
1909719099
#[pgrx_macros::pg_guard]
19100+
extern "C" {
19101+
pub fn MemoryContextCheck(context: MemoryContext);
19102+
}
19103+
#[pgrx_macros::pg_guard]
1909819104
extern "C" {
1909919105
pub fn MemoryContextContains(
1910019106
context: MemoryContext,

pgrx-pg-sys/src/pg13.rs

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ pub const ALIGNOF_LONG: u32 = 8;
170170
pub const ALIGNOF_PG_INT128_TYPE: u32 = 16;
171171
pub const ALIGNOF_SHORT: u32 = 2;
172172
pub const BLCKSZ: u32 = 8192;
173-
pub const CONFIGURE_ARGS: &[u8; 73] =
174-
b" '--prefix=/home/zombodb/.pgrx/13.11/pgrx-install' '--with-pgport=28813'\0";
173+
pub const CONFIGURE_ARGS : & [u8 ; 109] = b" '--prefix=/home/zombodb/.pgrx/13.11/pgrx-install' '--with-pgport=28813' '--enable-debug' '--enable-cassert'\0" ;
175174
pub const DEF_PGPORT: u32 = 28813;
176175
pub const DEF_PGPORT_STR: &[u8; 6] = b"28813\0";
177176
pub const ENABLE_THREAD_SAFETY: u32 = 1;
@@ -331,6 +330,7 @@ pub const SIZEOF_OFF_T: u32 = 8;
331330
pub const SIZEOF_SIZE_T: u32 = 8;
332331
pub const SIZEOF_VOID_P: u32 = 8;
333332
pub const STDC_HEADERS: u32 = 1;
333+
pub const USE_ASSERT_CHECKING: u32 = 1;
334334
pub const USE_DEV_URANDOM: u32 = 1;
335335
pub const USE_SSE42_CRC32C_WITH_RUNTIME_CHECK: u32 = 1;
336336
pub const USE_SYSV_SHARED_MEMORY: u32 = 1;
@@ -735,9 +735,9 @@ pub const LC_IDENTIFICATION_MASK: u32 = 4096;
735735
pub const LC_ALL_MASK: u32 = 8127;
736736
pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1;
737737
pub const HAVE_PRAGMA_GCC_SYSTEM_HEADER: u32 = 1;
738+
pub const __bool_true_false_are_defined: u32 = 1;
738739
pub const true_: u32 = 1;
739740
pub const false_: u32 = 0;
740-
pub const __bool_true_false_are_defined: u32 = 1;
741741
pub const INT64_FORMAT: &[u8; 4] = b"%ld\0";
742742
pub const UINT64_FORMAT: &[u8; 4] = b"%lu\0";
743743
pub const HAVE_INT128: u32 = 1;
@@ -13380,6 +13380,10 @@ extern "C" {
1338013380
pub fn RelationCloseSmgrByOid(relationId: Oid);
1338113381
}
1338213382
#[pgrx_macros::pg_guard]
13383+
extern "C" {
13384+
pub fn AssertPendingSyncs_RelationCache();
13385+
}
13386+
#[pgrx_macros::pg_guard]
1338313387
extern "C" {
1338413388
pub fn AtEOXact_RelationCache(isCommit: bool);
1338513389
}
@@ -19768,6 +19772,7 @@ pub struct MemoryContextMethods {
1976819772
totals: *mut MemoryContextCounters,
1976919773
),
1977019774
>,
19775+
pub check: ::std::option::Option<unsafe extern "C" fn(context: MemoryContext)>,
1977119776
}
1977219777
#[repr(C)]
1977319778
#[derive(Debug, Copy, Clone)]
@@ -19879,6 +19884,10 @@ extern "C" {
1987919884
pub fn MemoryContextAllowInCriticalSection(context: MemoryContext, allow: bool);
1988019885
}
1988119886
#[pgrx_macros::pg_guard]
19887+
extern "C" {
19888+
pub fn MemoryContextCheck(context: MemoryContext);
19889+
}
19890+
#[pgrx_macros::pg_guard]
1988219891
extern "C" {
1988319892
pub fn MemoryContextContains(
1988419893
context: MemoryContext,
@@ -23577,6 +23586,10 @@ extern "C" {
2357723586
pub fn LockHeldByMe(locktag: *const LOCKTAG, lockmode: LOCKMODE) -> bool;
2357823587
}
2357923588
#[pgrx_macros::pg_guard]
23589+
extern "C" {
23590+
pub fn GetLockMethodLocalHash() -> *mut HTAB;
23591+
}
23592+
#[pgrx_macros::pg_guard]
2358023593
extern "C" {
2358123594
pub fn LockHasWaiters(locktag: *const LOCKTAG, lockmode: LOCKMODE, sessionLock: bool) -> bool;
2358223595
}

0 commit comments

Comments
 (0)