@@ -144,7 +144,7 @@ pub const PACKAGE_NAME: &::core::ffi::CStr =
144
144
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"PostgreSQL\0") };
145
145
#[allow(unsafe_code)]
146
146
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") };
148
148
#[allow(unsafe_code)]
149
149
pub const PACKAGE_TARNAME: &::core::ffi::CStr =
150
150
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgresql\0") };
@@ -153,7 +153,7 @@ pub const PACKAGE_URL: &::core::ffi::CStr =
153
153
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"\0") };
154
154
#[allow(unsafe_code)]
155
155
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") };
157
157
#[allow(unsafe_code)]
158
158
pub const PG_KRB_SRVNAM: &::core::ffi::CStr =
159
159
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"postgres\0") };
@@ -162,11 +162,11 @@ pub const PG_MAJORVERSION: &::core::ffi::CStr =
162
162
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"12\0") };
163
163
#[allow(unsafe_code)]
164
164
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 ;
167
167
#[allow(unsafe_code)]
168
168
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")
170
170
};
171
171
pub const RELSEG_SIZE: u32 = 131072;
172
172
pub const SIZEOF_BOOL: u32 = 1;
@@ -988,7 +988,7 @@ pub const NSS_BUFLEN_PASSWD: u32 = 1024;
988
988
pub const PGINVALID_SOCKET: i32 = -1;
989
989
#[allow(unsafe_code)]
990
990
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") };
992
992
#[allow(unsafe_code)]
993
993
pub const EXE: &::core::ffi::CStr =
994
994
unsafe { ::core::ffi::CStr::from_bytes_with_nul_unchecked(b"\0") };
@@ -1752,6 +1752,7 @@ pub const ShareRowExclusiveLock: u32 = 6;
1752
1752
pub const ExclusiveLock: u32 = 7;
1753
1753
pub const AccessExclusiveLock: u32 = 8;
1754
1754
pub const MaxLockMode: u32 = 8;
1755
+ pub const InplaceUpdateTupleLock: u32 = 7;
1755
1756
pub const LWLOCK_PADDED_SIZE: u32 = 128;
1756
1757
pub const NUM_INDIVIDUAL_LWLOCKS: u32 = 48;
1757
1758
pub const NUM_BUFFER_PARTITIONS: u32 = 128;
@@ -2061,6 +2062,7 @@ pub const GUC_UNIT_S: u32 = 131072;
2061
2062
pub const GUC_UNIT_MIN: u32 = 196608;
2062
2063
pub const GUC_UNIT_TIME: u32 = 983040;
2063
2064
pub const GUC_EXPLAIN: u32 = 1048576;
2065
+ pub const GUC_ALLOW_IN_PARALLEL: u32 = 2097152;
2064
2066
pub const GUC_UNIT: u32 = 1044480;
2065
2067
#[allow(unsafe_code)]
2066
2068
pub const DEFAULT_TABLE_ACCESS_METHOD: &::core::ffi::CStr =
@@ -33004,7 +33006,10 @@ extern "C" {
33004
33006
pub fn GetUserId() -> Oid;
33005
33007
pub fn GetOuterUserId() -> Oid;
33006
33008
pub fn GetSessionUserId() -> Oid;
33009
+ pub fn GetSessionUserIsSuperuser() -> bool;
33007
33010
pub fn GetAuthenticatedUserId() -> Oid;
33011
+ pub fn GetAuthenticatedUserIsSuperuser() -> bool;
33012
+ pub fn SetAuthenticatedUserId(userid: Oid, is_superuser: bool);
33008
33013
pub fn GetUserIdAndSecContext(userid: *mut Oid, sec_context: *mut ::core::ffi::c_int);
33009
33014
pub fn SetUserIdAndSecContext(userid: Oid, sec_context: ::core::ffi::c_int);
33010
33015
pub fn InLocalUserIdChange() -> bool;
@@ -33660,6 +33665,18 @@ extern "C" {
33660
33665
direction: ScanDirection::Type,
33661
33666
) -> HeapTuple;
33662
33667
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);
33663
33680
pub fn GetIndexAmRoutine(amhandler: Oid) -> *mut IndexAmRoutine;
33664
33681
pub fn GetIndexAmRoutineByAmId(amoid: Oid, noerror: bool) -> *mut IndexAmRoutine;
33665
33682
pub fn XLogBeginInsert();
@@ -34900,6 +34917,22 @@ extern "C" {
34900
34917
buffer: *mut Buffer,
34901
34918
tmfd: *mut TM_FailureData,
34902
34919
) -> 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);
34903
34936
pub fn heap_inplace_update(relation: Relation, tuple: HeapTuple);
34904
34937
pub fn heap_freeze_tuple(
34905
34938
tuple: HeapTupleHeader,
@@ -36855,6 +36888,8 @@ extern "C" {
36855
36888
restart_seqs: bool,
36856
36889
);
36857
36890
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);
36858
36893
pub fn renameatt(stmt: *mut RenameStmt) -> ObjectAddress;
36859
36894
pub fn renameatt_type(stmt: *mut RenameStmt) -> ObjectAddress;
36860
36895
pub fn RenameConstraint(stmt: *mut RenameStmt) -> ObjectAddress;
@@ -44478,13 +44513,15 @@ extern "C" {
44478
44513
key4: Datum,
44479
44514
) -> HeapTuple;
44480
44515
pub fn ReleaseSysCache(tuple: HeapTuple);
44516
+ pub fn SearchSysCacheLocked1(cacheId: ::core::ffi::c_int, key1: Datum) -> HeapTuple;
44481
44517
pub fn SearchSysCacheCopy(
44482
44518
cacheId: ::core::ffi::c_int,
44483
44519
key1: Datum,
44484
44520
key2: Datum,
44485
44521
key3: Datum,
44486
44522
key4: Datum,
44487
44523
) -> HeapTuple;
44524
+ pub fn SearchSysCacheLockedCopy1(cacheId: ::core::ffi::c_int, key1: Datum) -> HeapTuple;
44488
44525
pub fn SearchSysCacheExists(
44489
44526
cacheId: ::core::ffi::c_int,
44490
44527
key1: Datum,
0 commit comments