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.1 #1213

Merged
merged 1 commit into from
Jul 14, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
120 changes: 60 additions & 60 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions cargo-pgrx/Cargo.toml
Expand Up @@ -10,7 +10,7 @@

[package]
name = "cargo-pgrx"
version = "0.10.0-beta.0"
version = "0.10.0-beta.1"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
Expand All @@ -33,10 +33,10 @@ 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.10.0-beta.0" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.0" }
pgrx-pg-config = { path = "../pgrx-pg-config", version = "=0.10.0-beta.1" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.1" }
prettyplease = "0.2.10"
proc-macro2 = { version = "1.0.63", features = [ "span-locations" ] }
proc-macro2 = { version = "1.0.64", features = [ "span-locations" ] }
quote = "1.0.29"
rayon = "1.7.0"
regex = "1.9.1"
Expand Down
4 changes: 2 additions & 2 deletions cargo-pgrx/src/templates/cargo_toml
Expand Up @@ -17,10 +17,10 @@ pg16 = ["pgrx/pg16", "pgrx-tests/pg16" ]
pg_test = []

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

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

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

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

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

Expand Down
6 changes: 3 additions & 3 deletions pgrx-macros/Cargo.toml
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-macros"
version = "0.10.0-beta.0"
version = "0.10.0-beta.1"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "Proc Macros for 'pgrx'"
Expand All @@ -31,8 +31,8 @@ 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.10.0-beta.0" }
proc-macro2 = "1.0.63"
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph", version = "=0.10.0-beta.1" }
proc-macro2 = "1.0.64"
quote = "1.0.29"
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }

Expand Down
2 changes: 1 addition & 1 deletion pgrx-pg-config/Cargo.toml
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-pg-config"
version = "0.10.0-beta.0"
version = "0.10.0-beta.1"
authors = ["PgCentral Foundation, Inc. <contact@pgcentral.org>"]
license = "MIT"
description = "A Postgres pg_config wrapper for 'pgrx'"
Expand Down
10 changes: 5 additions & 5 deletions pgrx-pg-sys/Cargo.toml
Expand Up @@ -10,7 +10,7 @@

[package]
name = "pgrx-pg-sys"
version = "0.10.0-beta.0"
version = "0.10.0-beta.1"
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,17 +40,17 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
memoffset = "0.9.0"
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" }
pgrx-macros = { path = "../pgrx-macros/", version = "=0.10.0-beta.1" }
pgrx-sql-entity-graph = { path = "../pgrx-sql-entity-graph/", version = "=0.10.0-beta.1" }
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.10.0-beta.0" }
proc-macro2 = "1.0.63"
pgrx-pg-config= { path = "../pgrx-pg-config/", version = "=0.10.0-beta.1" }
proc-macro2 = "1.0.64"
quote = "1.0.29"
syn = { version = "1.0.109", features = [ "extra-traits", "full", "fold", "parsing" ] }
eyre = "0.6.8"
Expand Down
8 changes: 7 additions & 1 deletion pgrx-pg-sys/src/pg11.rs
Expand Up @@ -327,6 +327,7 @@ 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 @@ -732,9 +733,9 @@ pub const LC_IDENTIFICATION_MASK: u32 = 4096;
pub const LC_ALL_MASK: u32 = 8127;
pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1;
pub const HAVE_PRAGMA_GCC_SYSTEM_HEADER: u32 = 1;
pub const __bool_true_false_are_defined: u32 = 1;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const __bool_true_false_are_defined: u32 = 1;
pub const USE_STDBOOL: u32 = 1;
pub const INT64_FORMAT: &[u8; 4] = b"%ld\0";
pub const UINT64_FORMAT: &[u8; 4] = b"%lu\0";
Expand Down Expand Up @@ -20553,6 +20554,7 @@ 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 @@ -20659,6 +20661,10 @@ 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
8 changes: 7 additions & 1 deletion pgrx-pg-sys/src/pg12.rs
Expand Up @@ -335,6 +335,7 @@ 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 @@ -740,9 +741,9 @@ pub const LC_IDENTIFICATION_MASK: u32 = 4096;
pub const LC_ALL_MASK: u32 = 8127;
pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1;
pub const HAVE_PRAGMA_GCC_SYSTEM_HEADER: u32 = 1;
pub const __bool_true_false_are_defined: u32 = 1;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const __bool_true_false_are_defined: u32 = 1;
Comment on lines +744 to -745
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did the sorting change...???

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must have. This happens on almost every release. Or I've updated to the latest pg sources and then the bindings diff is even bigger.

EDIT: I also ran this on a new computer that's a fully updated Ubuntu 22.04.2 LTS as of this morning. Probably wasn't true of my other machine. Maybe it's a libc sorting change or something.

pub const USE_STDBOOL: u32 = 1;
pub const INT64_FORMAT: &[u8; 4] = b"%ld\0";
pub const UINT64_FORMAT: &[u8; 4] = b"%lu\0";
Expand Down Expand Up @@ -18989,6 +18990,7 @@ 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 @@ -19095,6 +19097,10 @@ 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
19 changes: 16 additions & 3 deletions pgrx-pg-sys/src/pg13.rs
Expand Up @@ -170,8 +170,7 @@ pub const ALIGNOF_LONG: u32 = 8;
pub const ALIGNOF_PG_INT128_TYPE: u32 = 16;
pub const ALIGNOF_SHORT: u32 = 2;
pub const BLCKSZ: u32 = 8192;
pub const CONFIGURE_ARGS: &[u8; 73] =
b" '--prefix=/home/zombodb/.pgrx/13.11/pgrx-install' '--with-pgport=28813'\0";
pub const CONFIGURE_ARGS : & [u8 ; 109] = b" '--prefix=/home/zombodb/.pgrx/13.11/pgrx-install' '--with-pgport=28813' '--enable-debug' '--enable-cassert'\0" ;
pub const DEF_PGPORT: u32 = 28813;
pub const DEF_PGPORT_STR: &[u8; 6] = b"28813\0";
pub const ENABLE_THREAD_SAFETY: u32 = 1;
Expand Down Expand Up @@ -331,6 +330,7 @@ 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_SSE42_CRC32C_WITH_RUNTIME_CHECK: u32 = 1;
pub const USE_SYSV_SHARED_MEMORY: u32 = 1;
Expand Down Expand Up @@ -735,9 +735,9 @@ pub const LC_IDENTIFICATION_MASK: u32 = 4096;
pub const LC_ALL_MASK: u32 = 8127;
pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1;
pub const HAVE_PRAGMA_GCC_SYSTEM_HEADER: u32 = 1;
pub const __bool_true_false_are_defined: u32 = 1;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const __bool_true_false_are_defined: u32 = 1;
pub const INT64_FORMAT: &[u8; 4] = b"%ld\0";
pub const UINT64_FORMAT: &[u8; 4] = b"%lu\0";
pub const HAVE_INT128: u32 = 1;
Expand Down Expand Up @@ -13380,6 +13380,10 @@ extern "C" {
pub fn RelationCloseSmgrByOid(relationId: Oid);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn AssertPendingSyncs_RelationCache();
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn AtEOXact_RelationCache(isCommit: bool);
}
Expand Down Expand Up @@ -19768,6 +19772,7 @@ 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 @@ -19879,6 +19884,10 @@ 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 @@ -23577,6 +23586,10 @@ extern "C" {
pub fn LockHeldByMe(locktag: *const LOCKTAG, lockmode: LOCKMODE) -> bool;
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn GetLockMethodLocalHash() -> *mut HTAB;
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn LockHasWaiters(locktag: *const LOCKTAG, lockmode: LOCKMODE, sessionLock: bool) -> bool;
}
Expand Down
23 changes: 20 additions & 3 deletions pgrx-pg-sys/src/pg14.rs
Expand Up @@ -170,8 +170,7 @@ pub const ALIGNOF_LONG: u32 = 8;
pub const ALIGNOF_PG_INT128_TYPE: u32 = 16;
pub const ALIGNOF_SHORT: u32 = 2;
pub const BLCKSZ: u32 = 8192;
pub const CONFIGURE_ARGS: &[u8; 72] =
b" '--prefix=/home/zombodb/.pgrx/14.8/pgrx-install' '--with-pgport=28814'\0";
pub const CONFIGURE_ARGS : & [u8 ; 108] = b" '--prefix=/home/zombodb/.pgrx/14.8/pgrx-install' '--with-pgport=28814' '--enable-debug' '--enable-cassert'\0" ;
pub const DEF_PGPORT: u32 = 28814;
pub const DEF_PGPORT_STR: &[u8; 6] = b"28814\0";
pub const ENABLE_THREAD_SAFETY: u32 = 1;
Expand Down Expand Up @@ -339,6 +338,7 @@ 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_SSE42_CRC32C_WITH_RUNTIME_CHECK: u32 = 1;
pub const USE_SYSV_SHARED_MEMORY: u32 = 1;
pub const USE_UNNAMED_POSIX_SEMAPHORES: u32 = 1;
Expand Down Expand Up @@ -742,9 +742,9 @@ pub const LC_IDENTIFICATION_MASK: u32 = 4096;
pub const LC_ALL_MASK: u32 = 8127;
pub const HAVE_PG_ATTRIBUTE_NORETURN: u32 = 1;
pub const HAVE_PRAGMA_GCC_SYSTEM_HEADER: u32 = 1;
pub const __bool_true_false_are_defined: u32 = 1;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const __bool_true_false_are_defined: u32 = 1;
pub const INT64_FORMAT: &[u8; 4] = b"%ld\0";
pub const UINT64_FORMAT: &[u8; 4] = b"%lu\0";
pub const HAVE_INT128: u32 = 1;
Expand Down Expand Up @@ -8069,6 +8069,10 @@ extern "C" {
extern "C" {
pub fn GetNewObjectId() -> Oid;
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn AssertTransactionIdInAllowableRange(xid: TransactionId);
}
pub type Item = Pointer;
pub type Page = Pointer;
pub type LocationIndex = uint16;
Expand Down Expand Up @@ -13704,6 +13708,10 @@ extern "C" {
pub fn RelationCloseSmgrByOid(relationId: Oid);
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn AssertPendingSyncs_RelationCache();
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn AtEOXact_RelationCache(isCommit: bool);
}
Expand Down Expand Up @@ -20321,6 +20329,7 @@ pub struct MemoryContextMethods {
print_to_stderr: bool,
),
>,
pub check: ::std::option::Option<unsafe extern "C" fn(context: MemoryContext)>,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
Expand Down Expand Up @@ -20436,6 +20445,10 @@ 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 @@ -30765,6 +30778,10 @@ extern "C" {
pub fn LockHeldByMe(locktag: *const LOCKTAG, lockmode: LOCKMODE) -> bool;
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn GetLockMethodLocalHash() -> *mut HTAB;
}
#[pgrx_macros::pg_guard]
extern "C" {
pub fn LockHasWaiters(locktag: *const LOCKTAG, lockmode: LOCKMODE, sessionLock: bool) -> bool;
}
Expand Down