Skip to content

Commit

Permalink
Update version to 0.12.9 (#1951)
Browse files Browse the repository at this point in the history
  • Loading branch information
eeeebbbbrrrr authored Nov 22, 2024
1 parent 4ee4b8b commit a218889
Show file tree
Hide file tree
Showing 17 changed files with 285 additions and 67 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ exclude = [
cargo-pgrx = { path = "cargo-pgrx" }

[workspace.dependencies]
pgrx-macros = { path = "./pgrx-macros", version = "=0.12.8" }
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.12.8" }
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.12.8" }
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.12.8" }
pgrx-bindgen = { path = "./pgrx-bindgen", version = "0.12.8" }
pgrx-macros = { path = "./pgrx-macros", version = "=0.12.9" }
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.12.9" }
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.12.9" }
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.12.9" }
pgrx-bindgen = { path = "./pgrx-bindgen", version = "0.12.9" }

cargo_metadata = "0.18.0"
cargo-edit = "0.12.2" # format-preserving edits to cargo.toml
Expand Down
2 changes: 1 addition & 1 deletion 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.12.8"
version = "0.12.9"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"
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 @@ -21,10 +21,10 @@ pg17 = ["pgrx/pg17", "pgrx-tests/pg17" ]
pg_test = []

[dependencies]
pgrx = "=0.12.8"
pgrx = "=0.12.9"

[dev-dependencies]
pgrx-tests = "=0.12.8"
pgrx-tests = "=0.12.9"

[profile.dev]
panic = "unwind"
Expand Down
2 changes: 1 addition & 1 deletion pgrx-bindgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "pgrx-bindgen"
description = "additional bindgen support for pgrx"
version = "0.12.8"
version = "0.12.9"
edition = "2021"
license = "MIT"
homepage = "https://github.com/pgcentralfoundation/pgrx"
Expand Down
2 changes: 1 addition & 1 deletion 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.12.8"
version = "0.12.9"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Proc Macros for 'pgrx'"
Expand Down
2 changes: 1 addition & 1 deletion 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.12.8"
version = "0.12.9"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "A Postgres pg_config wrapper for 'pgrx'"
Expand Down
2 changes: 1 addition & 1 deletion 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.12.8"
version = "0.12.9"
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
license = "MIT"
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"
Expand Down
49 changes: 43 additions & 6 deletions pgrx-pg-sys/src/include/pg12.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ pub const PACKAGE_NAME: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"PostgreSQL\0") };
#[allow(unsafe_code)]
pub const PACKAGE_STRING: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"PostgreSQL 12.20\0") };
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"PostgreSQL 12.22\0") };
#[allow(unsafe_code)]
pub const PACKAGE_TARNAME: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgresql\0") };
Expand All @@ -153,7 +153,7 @@ pub const PACKAGE_URL: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"\0") };
#[allow(unsafe_code)]
pub const PACKAGE_VERSION: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12.20\0") };
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12.22\0") };
#[allow(unsafe_code)]
pub const PG_KRB_SRVNAM: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgres\0") };
Expand All @@ -162,11 +162,11 @@ pub const PG_MAJORVERSION: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12\0") };
#[allow(unsafe_code)]
pub const PG_VERSION: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12.20\0") };
pub const PG_VERSION_NUM: u32 = 120020;
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12.22\0") };
pub const PG_VERSION_NUM: u32 = 120022;
#[allow(unsafe_code)]
pub const PG_VERSION_STR: &::core::ffi::CStr = unsafe {
:: core :: ffi :: CStr :: from_bytes_with_nul_unchecked (b"PostgreSQL 12.20 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, 64-bit\0")
:: core :: ffi :: CStr :: from_bytes_with_nul_unchecked (b"PostgreSQL 12.22 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, 64-bit\0")
};
pub const RELSEG_SIZE: u32 = 131072;
pub const SIZEOF_BOOL: u32 = 1;
Expand Down Expand Up @@ -988,7 +988,7 @@ pub const NSS_BUFLEN_PASSWD: u32 = 1024;
pub const PGINVALID_SOCKET: i32 = -1;
#[allow(unsafe_code)]
pub const PG_BACKEND_VERSIONSTR: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgres (PostgreSQL) 12.20\n\0") };
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgres (PostgreSQL) 12.22\n\0") };
#[allow(unsafe_code)]
pub const EXE: &::core::ffi::CStr =
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"\0") };
Expand Down Expand Up @@ -1752,6 +1752,7 @@ pub const ShareRowExclusiveLock: u32 = 6;
pub const ExclusiveLock: u32 = 7;
pub const AccessExclusiveLock: u32 = 8;
pub const MaxLockMode: u32 = 8;
pub const InplaceUpdateTupleLock: u32 = 7;
pub const LWLOCK_PADDED_SIZE: u32 = 128;
pub const NUM_INDIVIDUAL_LWLOCKS: u32 = 48;
pub const NUM_BUFFER_PARTITIONS: u32 = 128;
Expand Down Expand Up @@ -2061,6 +2062,7 @@ pub const GUC_UNIT_S: u32 = 131072;
pub const GUC_UNIT_MIN: u32 = 196608;
pub const GUC_UNIT_TIME: u32 = 983040;
pub const GUC_EXPLAIN: u32 = 1048576;
pub const GUC_ALLOW_IN_PARALLEL: u32 = 2097152;
pub const GUC_UNIT: u32 = 1044480;
#[allow(unsafe_code)]
pub const DEFAULT_TABLE_ACCESS_METHOD: &::core::ffi::CStr =
Expand Down Expand Up @@ -33004,7 +33006,10 @@ extern "C" {
pub fn GetUserId() -> Oid;
pub fn GetOuterUserId() -> Oid;
pub fn GetSessionUserId() -> Oid;
pub fn GetSessionUserIsSuperuser() -> bool;
pub fn GetAuthenticatedUserId() -> Oid;
pub fn GetAuthenticatedUserIsSuperuser() -> bool;
pub fn SetAuthenticatedUserId(userid: Oid, is_superuser: bool);
pub fn GetUserIdAndSecContext(userid: *mut Oid, sec_context: *mut ::core::ffi::c_int);
pub fn SetUserIdAndSecContext(userid: Oid, sec_context: ::core::ffi::c_int);
pub fn InLocalUserIdChange() -> bool;
Expand Down Expand Up @@ -33660,6 +33665,18 @@ extern "C" {
direction: ScanDirection::Type,
) -> HeapTuple;
pub fn systable_endscan_ordered(sysscan: SysScanDesc);
pub fn systable_inplace_update_begin(
relation: Relation,
indexId: Oid,
indexOK: bool,
snapshot: Snapshot,
nkeys: ::core::ffi::c_int,
key: *const ScanKeyData,
oldtupcopy: *mut HeapTuple,
state: *mut *mut ::core::ffi::c_void,
);
pub fn systable_inplace_update_finish(state: *mut ::core::ffi::c_void, tuple: HeapTuple);
pub fn systable_inplace_update_cancel(state: *mut ::core::ffi::c_void);
pub fn GetIndexAmRoutine(amhandler: Oid) -> *mut IndexAmRoutine;
pub fn GetIndexAmRoutineByAmId(amoid: Oid, noerror: bool) -> *mut IndexAmRoutine;
pub fn XLogBeginInsert();
Expand Down Expand Up @@ -34900,6 +34917,22 @@ extern "C" {
buffer: *mut Buffer,
tmfd: *mut TM_FailureData,
) -> TM_Result::Type;
pub fn heap_inplace_lock(
relation: Relation,
oldtup_ptr: HeapTuple,
buffer: Buffer,
release_callback: ::core::option::Option<
unsafe extern "C" fn(arg1: *mut ::core::ffi::c_void),
>,
arg: *mut ::core::ffi::c_void,
) -> bool;
pub fn heap_inplace_update_and_unlock(
relation: Relation,
oldtup: HeapTuple,
tuple: HeapTuple,
buffer: Buffer,
);
pub fn heap_inplace_unlock(relation: Relation, oldtup: HeapTuple, buffer: Buffer);
pub fn heap_inplace_update(relation: Relation, tuple: HeapTuple);
pub fn heap_freeze_tuple(
tuple: HeapTupleHeader,
Expand Down Expand Up @@ -36855,6 +36888,8 @@ extern "C" {
restart_seqs: bool,
);
pub fn SetRelationHasSubclass(relationId: Oid, relhassubclass: bool);
pub fn CheckRelationTableSpaceMove(rel: Relation, newTableSpaceId: Oid) -> bool;
pub fn SetRelationTableSpace(rel: Relation, newTableSpaceId: Oid, newRelFileNode: Oid);
pub fn renameatt(stmt: *mut RenameStmt) -> ObjectAddress;
pub fn renameatt_type(stmt: *mut RenameStmt) -> ObjectAddress;
pub fn RenameConstraint(stmt: *mut RenameStmt) -> ObjectAddress;
Expand Down Expand Up @@ -44478,13 +44513,15 @@ extern "C" {
key4: Datum,
) -> HeapTuple;
pub fn ReleaseSysCache(tuple: HeapTuple);
pub fn SearchSysCacheLocked1(cacheId: ::core::ffi::c_int, key1: Datum) -> HeapTuple;
pub fn SearchSysCacheCopy(
cacheId: ::core::ffi::c_int,
key1: Datum,
key2: Datum,
key3: Datum,
key4: Datum,
) -> HeapTuple;
pub fn SearchSysCacheLockedCopy1(cacheId: ::core::ffi::c_int, key1: Datum) -> HeapTuple;
pub fn SearchSysCacheExists(
cacheId: ::core::ffi::c_int,
key1: Datum,
Expand Down
Loading

0 comments on commit a218889

Please sign in to comment.