Skip to content

Commit a218889

Browse files
authored
Update version to 0.12.9 (#1951)
1 parent 4ee4b8b commit a218889

File tree

17 files changed

+285
-67
lines changed

17 files changed

+285
-67
lines changed

Cargo.lock

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ exclude = [
5555
cargo-pgrx = { path = "cargo-pgrx" }
5656

5757
[workspace.dependencies]
58-
pgrx-macros = { path = "./pgrx-macros", version = "=0.12.8" }
59-
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.12.8" }
60-
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.12.8" }
61-
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.12.8" }
62-
pgrx-bindgen = { path = "./pgrx-bindgen", version = "0.12.8" }
58+
pgrx-macros = { path = "./pgrx-macros", version = "=0.12.9" }
59+
pgrx-pg-sys = { path = "./pgrx-pg-sys", version = "=0.12.9" }
60+
pgrx-sql-entity-graph = { path = "./pgrx-sql-entity-graph", version = "=0.12.9" }
61+
pgrx-pg-config = { path = "./pgrx-pg-config", version = "=0.12.9" }
62+
pgrx-bindgen = { path = "./pgrx-bindgen", version = "0.12.9" }
6363

6464
cargo_metadata = "0.18.0"
6565
cargo-edit = "0.12.2" # format-preserving edits to cargo.toml

cargo-pgrx/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "cargo-pgrx"
13-
version = "0.12.8"
13+
version = "0.12.9"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "Cargo subcommand for 'pgrx' to make Postgres extension development easy"

cargo-pgrx/src/templates/cargo_toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ pg17 = ["pgrx/pg17", "pgrx-tests/pg17" ]
2121
pg_test = []
2222

2323
[dependencies]
24-
pgrx = "=0.12.8"
24+
pgrx = "=0.12.9"
2525

2626
[dev-dependencies]
27-
pgrx-tests = "=0.12.8"
27+
pgrx-tests = "=0.12.9"
2828

2929
[profile.dev]
3030
panic = "unwind"

pgrx-bindgen/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "pgrx-bindgen"
33
description = "additional bindgen support for pgrx"
4-
version = "0.12.8"
4+
version = "0.12.9"
55
edition = "2021"
66
license = "MIT"
77
homepage = "https://github.com/pgcentralfoundation/pgrx"

pgrx-macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "pgrx-macros"
13-
version = "0.12.8"
13+
version = "0.12.9"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "Proc Macros for 'pgrx'"

pgrx-pg-config/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

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

pgrx-pg-sys/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[package]
1212
name = "pgrx-pg-sys"
13-
version = "0.12.8"
13+
version = "0.12.9"
1414
authors = ["PgCentral Foundation, Inc. <[email protected]>"]
1515
license = "MIT"
1616
description = "Generated Rust bindings for Postgres internals, for use with 'pgrx'"

pgrx-pg-sys/src/include/pg12.rs

+43-6
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ pub const PACKAGE_NAME: &::core::ffi::CStr =
144144
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"PostgreSQL\0") };
145145
#[allow(unsafe_code)]
146146
pub const PACKAGE_STRING: &::core::ffi::CStr =
147-
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"PostgreSQL 12.20\0") };
147+
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"PostgreSQL 12.22\0") };
148148
#[allow(unsafe_code)]
149149
pub const PACKAGE_TARNAME: &::core::ffi::CStr =
150150
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgresql\0") };
@@ -153,7 +153,7 @@ pub const PACKAGE_URL: &::core::ffi::CStr =
153153
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"\0") };
154154
#[allow(unsafe_code)]
155155
pub const PACKAGE_VERSION: &::core::ffi::CStr =
156-
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12.20\0") };
156+
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12.22\0") };
157157
#[allow(unsafe_code)]
158158
pub const PG_KRB_SRVNAM: &::core::ffi::CStr =
159159
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgres\0") };
@@ -162,11 +162,11 @@ pub const PG_MAJORVERSION: &::core::ffi::CStr =
162162
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12\0") };
163163
#[allow(unsafe_code)]
164164
pub const PG_VERSION: &::core::ffi::CStr =
165-
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12.20\0") };
166-
pub const PG_VERSION_NUM: u32 = 120020;
165+
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12.22\0") };
166+
pub const PG_VERSION_NUM: u32 = 120022;
167167
#[allow(unsafe_code)]
168168
pub const PG_VERSION_STR: &::core::ffi::CStr = unsafe {
169-
:: 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")
169+
:: 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")
170170
};
171171
pub const RELSEG_SIZE: u32 = 131072;
172172
pub const SIZEOF_BOOL: u32 = 1;
@@ -988,7 +988,7 @@ pub const NSS_BUFLEN_PASSWD: u32 = 1024;
988988
pub const PGINVALID_SOCKET: i32 = -1;
989989
#[allow(unsafe_code)]
990990
pub const PG_BACKEND_VERSIONSTR: &::core::ffi::CStr =
991-
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgres (PostgreSQL) 12.20\n\0") };
991+
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgres (PostgreSQL) 12.22\n\0") };
992992
#[allow(unsafe_code)]
993993
pub const EXE: &::core::ffi::CStr =
994994
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"\0") };
@@ -1752,6 +1752,7 @@ pub const ShareRowExclusiveLock: u32 = 6;
17521752
pub const ExclusiveLock: u32 = 7;
17531753
pub const AccessExclusiveLock: u32 = 8;
17541754
pub const MaxLockMode: u32 = 8;
1755+
pub const InplaceUpdateTupleLock: u32 = 7;
17551756
pub const LWLOCK_PADDED_SIZE: u32 = 128;
17561757
pub const NUM_INDIVIDUAL_LWLOCKS: u32 = 48;
17571758
pub const NUM_BUFFER_PARTITIONS: u32 = 128;
@@ -2061,6 +2062,7 @@ pub const GUC_UNIT_S: u32 = 131072;
20612062
pub const GUC_UNIT_MIN: u32 = 196608;
20622063
pub const GUC_UNIT_TIME: u32 = 983040;
20632064
pub const GUC_EXPLAIN: u32 = 1048576;
2065+
pub const GUC_ALLOW_IN_PARALLEL: u32 = 2097152;
20642066
pub const GUC_UNIT: u32 = 1044480;
20652067
#[allow(unsafe_code)]
20662068
pub const DEFAULT_TABLE_ACCESS_METHOD: &::core::ffi::CStr =
@@ -33004,7 +33006,10 @@ extern "C" {
3300433006
pub fn GetUserId() -> Oid;
3300533007
pub fn GetOuterUserId() -> Oid;
3300633008
pub fn GetSessionUserId() -> Oid;
33009+
pub fn GetSessionUserIsSuperuser() -> bool;
3300733010
pub fn GetAuthenticatedUserId() -> Oid;
33011+
pub fn GetAuthenticatedUserIsSuperuser() -> bool;
33012+
pub fn SetAuthenticatedUserId(userid: Oid, is_superuser: bool);
3300833013
pub fn GetUserIdAndSecContext(userid: *mut Oid, sec_context: *mut ::core::ffi::c_int);
3300933014
pub fn SetUserIdAndSecContext(userid: Oid, sec_context: ::core::ffi::c_int);
3301033015
pub fn InLocalUserIdChange() -> bool;
@@ -33660,6 +33665,18 @@ extern "C" {
3366033665
direction: ScanDirection::Type,
3366133666
) -> HeapTuple;
3366233667
pub fn systable_endscan_ordered(sysscan: SysScanDesc);
33668+
pub fn systable_inplace_update_begin(
33669+
relation: Relation,
33670+
indexId: Oid,
33671+
indexOK: bool,
33672+
snapshot: Snapshot,
33673+
nkeys: ::core::ffi::c_int,
33674+
key: *const ScanKeyData,
33675+
oldtupcopy: *mut HeapTuple,
33676+
state: *mut *mut ::core::ffi::c_void,
33677+
);
33678+
pub fn systable_inplace_update_finish(state: *mut ::core::ffi::c_void, tuple: HeapTuple);
33679+
pub fn systable_inplace_update_cancel(state: *mut ::core::ffi::c_void);
3366333680
pub fn GetIndexAmRoutine(amhandler: Oid) -> *mut IndexAmRoutine;
3366433681
pub fn GetIndexAmRoutineByAmId(amoid: Oid, noerror: bool) -> *mut IndexAmRoutine;
3366533682
pub fn XLogBeginInsert();
@@ -34900,6 +34917,22 @@ extern "C" {
3490034917
buffer: *mut Buffer,
3490134918
tmfd: *mut TM_FailureData,
3490234919
) -> TM_Result::Type;
34920+
pub fn heap_inplace_lock(
34921+
relation: Relation,
34922+
oldtup_ptr: HeapTuple,
34923+
buffer: Buffer,
34924+
release_callback: ::core::option::Option<
34925+
unsafe extern "C" fn(arg1: *mut ::core::ffi::c_void),
34926+
>,
34927+
arg: *mut ::core::ffi::c_void,
34928+
) -> bool;
34929+
pub fn heap_inplace_update_and_unlock(
34930+
relation: Relation,
34931+
oldtup: HeapTuple,
34932+
tuple: HeapTuple,
34933+
buffer: Buffer,
34934+
);
34935+
pub fn heap_inplace_unlock(relation: Relation, oldtup: HeapTuple, buffer: Buffer);
3490334936
pub fn heap_inplace_update(relation: Relation, tuple: HeapTuple);
3490434937
pub fn heap_freeze_tuple(
3490534938
tuple: HeapTupleHeader,
@@ -36855,6 +36888,8 @@ extern "C" {
3685536888
restart_seqs: bool,
3685636889
);
3685736890
pub fn SetRelationHasSubclass(relationId: Oid, relhassubclass: bool);
36891+
pub fn CheckRelationTableSpaceMove(rel: Relation, newTableSpaceId: Oid) -> bool;
36892+
pub fn SetRelationTableSpace(rel: Relation, newTableSpaceId: Oid, newRelFileNode: Oid);
3685836893
pub fn renameatt(stmt: *mut RenameStmt) -> ObjectAddress;
3685936894
pub fn renameatt_type(stmt: *mut RenameStmt) -> ObjectAddress;
3686036895
pub fn RenameConstraint(stmt: *mut RenameStmt) -> ObjectAddress;
@@ -44478,13 +44513,15 @@ extern "C" {
4447844513
key4: Datum,
4447944514
) -> HeapTuple;
4448044515
pub fn ReleaseSysCache(tuple: HeapTuple);
44516+
pub fn SearchSysCacheLocked1(cacheId: ::core::ffi::c_int, key1: Datum) -> HeapTuple;
4448144517
pub fn SearchSysCacheCopy(
4448244518
cacheId: ::core::ffi::c_int,
4448344519
key1: Datum,
4448444520
key2: Datum,
4448544521
key3: Datum,
4448644522
key4: Datum,
4448744523
) -> HeapTuple;
44524+
pub fn SearchSysCacheLockedCopy1(cacheId: ::core::ffi::c_int, key1: Datum) -> HeapTuple;
4448844525
pub fn SearchSysCacheExists(
4448944526
cacheId: ::core::ffi::c_int,
4449044527
key1: Datum,

0 commit comments

Comments
 (0)