@@ -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)]
146146pub 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)]
149149pub 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)]
155155pub 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)]
158158pub 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)]
164164pub 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)]
168168pub 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};
171171pub const RELSEG_SIZE: u32 = 131072;
172172pub const SIZEOF_BOOL: u32 = 1;
@@ -988,7 +988,7 @@ pub const NSS_BUFLEN_PASSWD: u32 = 1024;
988988pub const PGINVALID_SOCKET: i32 = -1;
989989#[allow(unsafe_code)]
990990pub 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)]
993993pub 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;
17521752pub const ExclusiveLock: u32 = 7;
17531753pub const AccessExclusiveLock: u32 = 8;
17541754pub const MaxLockMode: u32 = 8;
1755+ pub const InplaceUpdateTupleLock: u32 = 7;
17551756pub const LWLOCK_PADDED_SIZE: u32 = 128;
17561757pub const NUM_INDIVIDUAL_LWLOCKS: u32 = 48;
17571758pub const NUM_BUFFER_PARTITIONS: u32 = 128;
@@ -2061,6 +2062,7 @@ pub const GUC_UNIT_S: u32 = 131072;
20612062pub const GUC_UNIT_MIN: u32 = 196608;
20622063pub const GUC_UNIT_TIME: u32 = 983040;
20632064pub const GUC_EXPLAIN: u32 = 1048576;
2065+ pub const GUC_ALLOW_IN_PARALLEL: u32 = 2097152;
20642066pub const GUC_UNIT: u32 = 1044480;
20652067#[allow(unsafe_code)]
20662068pub 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