diff --git a/pgx-pg-sys/src/pg10.rs b/pgx-pg-sys/src/pg10.rs index 34a5c2b27a..2683cf868c 100644 --- a/pgx-pg-sys/src/pg10.rs +++ b/pgx-pg-sys/src/pg10.rs @@ -337,7 +337,7 @@ pub const PG_KRB_SRVNAM: &'static [u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &'static [u8; 3usize] = b"10\0"; pub const PG_VERSION: &'static [u8; 6usize] = b"10.18\0"; pub const PG_VERSION_NUM: u32 = 100018; -pub const PG_VERSION_STR : & 'static [u8 ; 114usize] = b"PostgreSQL 10.18 on x86_64-apple-darwin20.6.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; +pub const PG_VERSION_STR : & 'static [u8 ; 114usize] = b"PostgreSQL 10.18 on x86_64-apple-darwin20.4.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_LONG: u32 = 8; pub const SIZEOF_OFF_T: u32 = 8; @@ -430,9 +430,6 @@ pub const __MAC_10_16: u32 = 101600; pub const __MAC_11_0: u32 = 110000; pub const __MAC_11_1: u32 = 110100; pub const __MAC_11_3: u32 = 110300; -pub const __MAC_11_4: u32 = 110400; -pub const __MAC_11_5: u32 = 110500; -pub const __MAC_12_0: u32 = 120000; pub const __IPHONE_2_0: u32 = 20000; pub const __IPHONE_2_1: u32 = 20100; pub const __IPHONE_2_2: u32 = 20200; @@ -485,10 +482,6 @@ pub const __IPHONE_14_1: u32 = 140100; pub const __IPHONE_14_2: u32 = 140200; pub const __IPHONE_14_3: u32 = 140300; pub const __IPHONE_14_5: u32 = 140500; -pub const __IPHONE_14_6: u32 = 140600; -pub const __IPHONE_14_7: u32 = 140700; -pub const __IPHONE_14_8: u32 = 140800; -pub const __IPHONE_15_0: u32 = 150000; pub const __TVOS_9_0: u32 = 90000; pub const __TVOS_9_1: u32 = 90100; pub const __TVOS_9_2: u32 = 90200; @@ -515,9 +508,6 @@ pub const __TVOS_14_1: u32 = 140100; pub const __TVOS_14_2: u32 = 140200; pub const __TVOS_14_3: u32 = 140300; pub const __TVOS_14_5: u32 = 140500; -pub const __TVOS_14_6: u32 = 140600; -pub const __TVOS_14_7: u32 = 140700; -pub const __TVOS_15_0: u32 = 150000; pub const __WATCHOS_1_0: u32 = 10000; pub const __WATCHOS_2_0: u32 = 20000; pub const __WATCHOS_2_1: u32 = 20100; @@ -542,9 +532,6 @@ pub const __WATCHOS_7_1: u32 = 70100; pub const __WATCHOS_7_2: u32 = 70200; pub const __WATCHOS_7_3: u32 = 70300; pub const __WATCHOS_7_4: u32 = 70400; -pub const __WATCHOS_7_5: u32 = 70500; -pub const __WATCHOS_7_6: u32 = 70600; -pub const __WATCHOS_8_0: u32 = 80000; pub const MAC_OS_X_VERSION_10_0: u32 = 1000; pub const MAC_OS_X_VERSION_10_1: u32 = 1010; pub const MAC_OS_X_VERSION_10_2: u32 = 1020; @@ -578,11 +565,9 @@ pub const MAC_OS_X_VERSION_10_15: u32 = 101500; pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; pub const MAC_OS_X_VERSION_10_16: u32 = 101600; pub const MAC_OS_VERSION_11_0: u32 = 110000; -pub const MAC_OS_VERSION_12_0: u32 = 120000; pub const __DRIVERKIT_19_0: u32 = 190000; pub const __DRIVERKIT_20_0: u32 = 200000; -pub const __DRIVERKIT_21_0: u32 = 210000; -pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 110300; pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; pub const __PTHREAD_SIZE__: u32 = 8176; pub const __PTHREAD_ATTR_SIZE__: u32 = 56; @@ -842,7 +827,6 @@ pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; -pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; pub const IOPOL_SCOPE_PROCESS: u32 = 0; pub const IOPOL_SCOPE_THREAD: u32 = 1; pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; @@ -869,8 +853,6 @@ pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; pub const WNOHANG: u32 = 1; pub const WUNTRACED: u32 = 2; pub const WCOREFLAG: u32 = 128; @@ -1100,7 +1082,7 @@ pub const KEV_DL_IFCAP_CHANGED: u32 = 19; pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; pub const KEV_DL_NODE_PRESENCE: u32 = 21; pub const KEV_DL_NODE_ABSENCE: u32 = 22; -pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_MASTER_ELECTED: u32 = 23; pub const KEV_DL_ISSUES: u32 = 24; pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; @@ -1616,7 +1598,6 @@ pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; pub const IPV6CTL_MAXDYNROUTES: u32 = 49; pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; -pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &'static [u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &'static [u8; 11usize] = b"/etc/hosts\0"; @@ -3992,6 +3973,14 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn zopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> *mut FILE; +} +#[pg_guard] extern "C" { pub fn funopen( arg1: *const ::std::os::raw::c_void, @@ -6037,7 +6026,10 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc(__alignment: usize, __size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -8640,6 +8632,10 @@ extern "C" { pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] +extern "C" { + pub fn uuid_generate_early_random(out: *mut ::std::os::raw::c_uchar); +} +#[pg_guard] extern "C" { pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; } diff --git a/pgx-pg-sys/src/pg11.rs b/pgx-pg-sys/src/pg11.rs index 1201a2c80e..b2c91025cf 100644 --- a/pgx-pg-sys/src/pg11.rs +++ b/pgx-pg-sys/src/pg11.rs @@ -333,7 +333,7 @@ pub const PG_KRB_SRVNAM: &'static [u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &'static [u8; 3usize] = b"11\0"; pub const PG_VERSION: &'static [u8; 6usize] = b"11.13\0"; pub const PG_VERSION_NUM: u32 = 110013; -pub const PG_VERSION_STR : & 'static [u8 ; 114usize] = b"PostgreSQL 11.13 on x86_64-apple-darwin20.6.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; +pub const PG_VERSION_STR : & 'static [u8 ; 114usize] = b"PostgreSQL 11.13 on x86_64-apple-darwin20.4.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -427,9 +427,6 @@ pub const __MAC_10_16: u32 = 101600; pub const __MAC_11_0: u32 = 110000; pub const __MAC_11_1: u32 = 110100; pub const __MAC_11_3: u32 = 110300; -pub const __MAC_11_4: u32 = 110400; -pub const __MAC_11_5: u32 = 110500; -pub const __MAC_12_0: u32 = 120000; pub const __IPHONE_2_0: u32 = 20000; pub const __IPHONE_2_1: u32 = 20100; pub const __IPHONE_2_2: u32 = 20200; @@ -482,10 +479,6 @@ pub const __IPHONE_14_1: u32 = 140100; pub const __IPHONE_14_2: u32 = 140200; pub const __IPHONE_14_3: u32 = 140300; pub const __IPHONE_14_5: u32 = 140500; -pub const __IPHONE_14_6: u32 = 140600; -pub const __IPHONE_14_7: u32 = 140700; -pub const __IPHONE_14_8: u32 = 140800; -pub const __IPHONE_15_0: u32 = 150000; pub const __TVOS_9_0: u32 = 90000; pub const __TVOS_9_1: u32 = 90100; pub const __TVOS_9_2: u32 = 90200; @@ -512,9 +505,6 @@ pub const __TVOS_14_1: u32 = 140100; pub const __TVOS_14_2: u32 = 140200; pub const __TVOS_14_3: u32 = 140300; pub const __TVOS_14_5: u32 = 140500; -pub const __TVOS_14_6: u32 = 140600; -pub const __TVOS_14_7: u32 = 140700; -pub const __TVOS_15_0: u32 = 150000; pub const __WATCHOS_1_0: u32 = 10000; pub const __WATCHOS_2_0: u32 = 20000; pub const __WATCHOS_2_1: u32 = 20100; @@ -539,9 +529,6 @@ pub const __WATCHOS_7_1: u32 = 70100; pub const __WATCHOS_7_2: u32 = 70200; pub const __WATCHOS_7_3: u32 = 70300; pub const __WATCHOS_7_4: u32 = 70400; -pub const __WATCHOS_7_5: u32 = 70500; -pub const __WATCHOS_7_6: u32 = 70600; -pub const __WATCHOS_8_0: u32 = 80000; pub const MAC_OS_X_VERSION_10_0: u32 = 1000; pub const MAC_OS_X_VERSION_10_1: u32 = 1010; pub const MAC_OS_X_VERSION_10_2: u32 = 1020; @@ -575,11 +562,9 @@ pub const MAC_OS_X_VERSION_10_15: u32 = 101500; pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; pub const MAC_OS_X_VERSION_10_16: u32 = 101600; pub const MAC_OS_VERSION_11_0: u32 = 110000; -pub const MAC_OS_VERSION_12_0: u32 = 120000; pub const __DRIVERKIT_19_0: u32 = 190000; pub const __DRIVERKIT_20_0: u32 = 200000; -pub const __DRIVERKIT_21_0: u32 = 210000; -pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 110300; pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; pub const __PTHREAD_SIZE__: u32 = 8176; pub const __PTHREAD_ATTR_SIZE__: u32 = 56; @@ -839,7 +824,6 @@ pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; -pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; pub const IOPOL_SCOPE_PROCESS: u32 = 0; pub const IOPOL_SCOPE_THREAD: u32 = 1; pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; @@ -866,8 +850,6 @@ pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; pub const WNOHANG: u32 = 1; pub const WUNTRACED: u32 = 2; pub const WCOREFLAG: u32 = 128; @@ -1099,7 +1081,7 @@ pub const KEV_DL_IFCAP_CHANGED: u32 = 19; pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; pub const KEV_DL_NODE_PRESENCE: u32 = 21; pub const KEV_DL_NODE_ABSENCE: u32 = 22; -pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_MASTER_ELECTED: u32 = 23; pub const KEV_DL_ISSUES: u32 = 24; pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; @@ -1615,7 +1597,6 @@ pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; pub const IPV6CTL_MAXDYNROUTES: u32 = 49; pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; -pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &'static [u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &'static [u8; 11usize] = b"/etc/hosts\0"; @@ -4148,6 +4129,14 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn zopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> *mut FILE; +} +#[pg_guard] extern "C" { pub fn funopen( arg1: *const ::std::os::raw::c_void, @@ -6193,7 +6182,10 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc(__alignment: usize, __size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -8804,6 +8796,10 @@ extern "C" { pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] +extern "C" { + pub fn uuid_generate_early_random(out: *mut ::std::os::raw::c_uchar); +} +#[pg_guard] extern "C" { pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; } diff --git a/pgx-pg-sys/src/pg12.rs b/pgx-pg-sys/src/pg12.rs index d8739e34a2..0763c8e950 100644 --- a/pgx-pg-sys/src/pg12.rs +++ b/pgx-pg-sys/src/pg12.rs @@ -338,7 +338,7 @@ pub const PG_KRB_SRVNAM: &'static [u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &'static [u8; 3usize] = b"12\0"; pub const PG_VERSION: &'static [u8; 5usize] = b"12.8\0"; pub const PG_VERSION_NUM: u32 = 120008; -pub const PG_VERSION_STR : & 'static [u8 ; 113usize] = b"PostgreSQL 12.8 on x86_64-apple-darwin20.6.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; +pub const PG_VERSION_STR : & 'static [u8 ; 113usize] = b"PostgreSQL 12.8 on x86_64-apple-darwin20.4.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -432,9 +432,6 @@ pub const __MAC_10_16: u32 = 101600; pub const __MAC_11_0: u32 = 110000; pub const __MAC_11_1: u32 = 110100; pub const __MAC_11_3: u32 = 110300; -pub const __MAC_11_4: u32 = 110400; -pub const __MAC_11_5: u32 = 110500; -pub const __MAC_12_0: u32 = 120000; pub const __IPHONE_2_0: u32 = 20000; pub const __IPHONE_2_1: u32 = 20100; pub const __IPHONE_2_2: u32 = 20200; @@ -487,10 +484,6 @@ pub const __IPHONE_14_1: u32 = 140100; pub const __IPHONE_14_2: u32 = 140200; pub const __IPHONE_14_3: u32 = 140300; pub const __IPHONE_14_5: u32 = 140500; -pub const __IPHONE_14_6: u32 = 140600; -pub const __IPHONE_14_7: u32 = 140700; -pub const __IPHONE_14_8: u32 = 140800; -pub const __IPHONE_15_0: u32 = 150000; pub const __TVOS_9_0: u32 = 90000; pub const __TVOS_9_1: u32 = 90100; pub const __TVOS_9_2: u32 = 90200; @@ -517,9 +510,6 @@ pub const __TVOS_14_1: u32 = 140100; pub const __TVOS_14_2: u32 = 140200; pub const __TVOS_14_3: u32 = 140300; pub const __TVOS_14_5: u32 = 140500; -pub const __TVOS_14_6: u32 = 140600; -pub const __TVOS_14_7: u32 = 140700; -pub const __TVOS_15_0: u32 = 150000; pub const __WATCHOS_1_0: u32 = 10000; pub const __WATCHOS_2_0: u32 = 20000; pub const __WATCHOS_2_1: u32 = 20100; @@ -544,9 +534,6 @@ pub const __WATCHOS_7_1: u32 = 70100; pub const __WATCHOS_7_2: u32 = 70200; pub const __WATCHOS_7_3: u32 = 70300; pub const __WATCHOS_7_4: u32 = 70400; -pub const __WATCHOS_7_5: u32 = 70500; -pub const __WATCHOS_7_6: u32 = 70600; -pub const __WATCHOS_8_0: u32 = 80000; pub const MAC_OS_X_VERSION_10_0: u32 = 1000; pub const MAC_OS_X_VERSION_10_1: u32 = 1010; pub const MAC_OS_X_VERSION_10_2: u32 = 1020; @@ -580,11 +567,9 @@ pub const MAC_OS_X_VERSION_10_15: u32 = 101500; pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; pub const MAC_OS_X_VERSION_10_16: u32 = 101600; pub const MAC_OS_VERSION_11_0: u32 = 110000; -pub const MAC_OS_VERSION_12_0: u32 = 120000; pub const __DRIVERKIT_19_0: u32 = 190000; pub const __DRIVERKIT_20_0: u32 = 200000; -pub const __DRIVERKIT_21_0: u32 = 210000; -pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 110300; pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; pub const __PTHREAD_SIZE__: u32 = 8176; pub const __PTHREAD_ATTR_SIZE__: u32 = 56; @@ -844,7 +829,6 @@ pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; -pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; pub const IOPOL_SCOPE_PROCESS: u32 = 0; pub const IOPOL_SCOPE_THREAD: u32 = 1; pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; @@ -871,8 +855,6 @@ pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; pub const WNOHANG: u32 = 1; pub const WUNTRACED: u32 = 2; pub const WCOREFLAG: u32 = 128; @@ -1104,7 +1086,7 @@ pub const KEV_DL_IFCAP_CHANGED: u32 = 19; pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; pub const KEV_DL_NODE_PRESENCE: u32 = 21; pub const KEV_DL_NODE_ABSENCE: u32 = 22; -pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_MASTER_ELECTED: u32 = 23; pub const KEV_DL_ISSUES: u32 = 24; pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; @@ -1620,7 +1602,6 @@ pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; pub const IPV6CTL_MAXDYNROUTES: u32 = 49; pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; -pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &'static [u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &'static [u8; 11usize] = b"/etc/hosts\0"; @@ -4201,6 +4182,14 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn zopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> *mut FILE; +} +#[pg_guard] extern "C" { pub fn funopen( arg1: *const ::std::os::raw::c_void, @@ -6246,7 +6235,10 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc(__alignment: usize, __size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -8857,6 +8849,10 @@ extern "C" { pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] +extern "C" { + pub fn uuid_generate_early_random(out: *mut ::std::os::raw::c_uchar); +} +#[pg_guard] extern "C" { pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; } diff --git a/pgx-pg-sys/src/pg13.rs b/pgx-pg-sys/src/pg13.rs index b3bd24c2cf..76069f45ed 100644 --- a/pgx-pg-sys/src/pg13.rs +++ b/pgx-pg-sys/src/pg13.rs @@ -178,7 +178,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 : & 'static [u8 ; 105usize] = b" '--prefix=/Users/james/.pgx/13.4/pgx-install' '--with-pgport=28813' '--enable-debug' '--enable-cassert'\0" ; +pub const CONFIGURE_ARGS : & 'static [u8 ; 107usize] = b" '--prefix=/Users/e_ridge/.pgx/13.4/pgx-install' '--with-pgport=28813' '--enable-debug' '--enable-cassert'\0" ; pub const DEF_PGPORT: u32 = 28813; pub const DEF_PGPORT_STR: &'static [u8; 6usize] = b"28813\0"; pub const ENABLE_THREAD_SAFETY: u32 = 1; @@ -333,7 +333,7 @@ pub const PG_MINORVERSION_NUM: u32 = 4; pub const PG_USE_STDBOOL: u32 = 1; pub const PG_VERSION: &'static [u8; 5usize] = b"13.4\0"; pub const PG_VERSION_NUM: u32 = 130004; -pub const PG_VERSION_STR : & 'static [u8 ; 113usize] = b"PostgreSQL 13.4 on x86_64-apple-darwin20.6.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; +pub const PG_VERSION_STR : & 'static [u8 ; 113usize] = b"PostgreSQL 13.4 on x86_64-apple-darwin20.4.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -426,9 +426,6 @@ pub const __MAC_10_16: u32 = 101600; pub const __MAC_11_0: u32 = 110000; pub const __MAC_11_1: u32 = 110100; pub const __MAC_11_3: u32 = 110300; -pub const __MAC_11_4: u32 = 110400; -pub const __MAC_11_5: u32 = 110500; -pub const __MAC_12_0: u32 = 120000; pub const __IPHONE_2_0: u32 = 20000; pub const __IPHONE_2_1: u32 = 20100; pub const __IPHONE_2_2: u32 = 20200; @@ -481,10 +478,6 @@ pub const __IPHONE_14_1: u32 = 140100; pub const __IPHONE_14_2: u32 = 140200; pub const __IPHONE_14_3: u32 = 140300; pub const __IPHONE_14_5: u32 = 140500; -pub const __IPHONE_14_6: u32 = 140600; -pub const __IPHONE_14_7: u32 = 140700; -pub const __IPHONE_14_8: u32 = 140800; -pub const __IPHONE_15_0: u32 = 150000; pub const __TVOS_9_0: u32 = 90000; pub const __TVOS_9_1: u32 = 90100; pub const __TVOS_9_2: u32 = 90200; @@ -511,9 +504,6 @@ pub const __TVOS_14_1: u32 = 140100; pub const __TVOS_14_2: u32 = 140200; pub const __TVOS_14_3: u32 = 140300; pub const __TVOS_14_5: u32 = 140500; -pub const __TVOS_14_6: u32 = 140600; -pub const __TVOS_14_7: u32 = 140700; -pub const __TVOS_15_0: u32 = 150000; pub const __WATCHOS_1_0: u32 = 10000; pub const __WATCHOS_2_0: u32 = 20000; pub const __WATCHOS_2_1: u32 = 20100; @@ -538,9 +528,6 @@ pub const __WATCHOS_7_1: u32 = 70100; pub const __WATCHOS_7_2: u32 = 70200; pub const __WATCHOS_7_3: u32 = 70300; pub const __WATCHOS_7_4: u32 = 70400; -pub const __WATCHOS_7_5: u32 = 70500; -pub const __WATCHOS_7_6: u32 = 70600; -pub const __WATCHOS_8_0: u32 = 80000; pub const MAC_OS_X_VERSION_10_0: u32 = 1000; pub const MAC_OS_X_VERSION_10_1: u32 = 1010; pub const MAC_OS_X_VERSION_10_2: u32 = 1020; @@ -574,11 +561,9 @@ pub const MAC_OS_X_VERSION_10_15: u32 = 101500; pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; pub const MAC_OS_X_VERSION_10_16: u32 = 101600; pub const MAC_OS_VERSION_11_0: u32 = 110000; -pub const MAC_OS_VERSION_12_0: u32 = 120000; pub const __DRIVERKIT_19_0: u32 = 190000; pub const __DRIVERKIT_20_0: u32 = 200000; -pub const __DRIVERKIT_21_0: u32 = 210000; -pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 110300; pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; pub const __PTHREAD_SIZE__: u32 = 8176; pub const __PTHREAD_ATTR_SIZE__: u32 = 56; @@ -838,7 +823,6 @@ pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; -pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; pub const IOPOL_SCOPE_PROCESS: u32 = 0; pub const IOPOL_SCOPE_THREAD: u32 = 1; pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; @@ -865,8 +849,6 @@ pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; pub const WNOHANG: u32 = 1; pub const WUNTRACED: u32 = 2; pub const WCOREFLAG: u32 = 128; @@ -1098,7 +1080,7 @@ pub const KEV_DL_IFCAP_CHANGED: u32 = 19; pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; pub const KEV_DL_NODE_PRESENCE: u32 = 21; pub const KEV_DL_NODE_ABSENCE: u32 = 22; -pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_MASTER_ELECTED: u32 = 23; pub const KEV_DL_ISSUES: u32 = 24; pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; @@ -1614,7 +1596,6 @@ pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; pub const IPV6CTL_MAXDYNROUTES: u32 = 49; pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; -pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &'static [u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &'static [u8; 11usize] = b"/etc/hosts\0"; @@ -4199,6 +4180,14 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn zopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> *mut FILE; +} +#[pg_guard] extern "C" { pub fn funopen( arg1: *const ::std::os::raw::c_void, @@ -6244,7 +6233,10 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc(__alignment: usize, __size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -8855,6 +8847,10 @@ extern "C" { pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] +extern "C" { + pub fn uuid_generate_early_random(out: *mut ::std::os::raw::c_uchar); +} +#[pg_guard] extern "C" { pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; } diff --git a/pgx-pg-sys/src/pg14.rs b/pgx-pg-sys/src/pg14.rs index 4f81c64c1f..0bb86259b3 100644 --- a/pgx-pg-sys/src/pg14.rs +++ b/pgx-pg-sys/src/pg14.rs @@ -178,7 +178,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 : & 'static [u8 ; 105usize] = b" '--prefix=/Users/james/.pgx/14.0/pgx-install' '--with-pgport=28814' '--enable-debug' '--enable-cassert'\0" ; +pub const CONFIGURE_ARGS : & 'static [u8 ; 107usize] = b" '--prefix=/Users/e_ridge/.pgx/14.0/pgx-install' '--with-pgport=28814' '--enable-debug' '--enable-cassert'\0" ; pub const DEF_PGPORT: u32 = 28814; pub const DEF_PGPORT_STR: &'static [u8; 6usize] = b"28814\0"; pub const ENABLE_THREAD_SAFETY: u32 = 1; @@ -338,7 +338,7 @@ pub const PG_MINORVERSION_NUM: u32 = 0; pub const PG_USE_STDBOOL: u32 = 1; pub const PG_VERSION: &'static [u8; 5usize] = b"14.0\0"; pub const PG_VERSION_NUM: u32 = 140000; -pub const PG_VERSION_STR : & 'static [u8 ; 113usize] = b"PostgreSQL 14.0 on x86_64-apple-darwin20.6.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; +pub const PG_VERSION_STR : & 'static [u8 ; 113usize] = b"PostgreSQL 14.0 on x86_64-apple-darwin20.4.0, compiled by Apple clang version 13.0.0 (clang-1300.0.29.3), 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -430,9 +430,6 @@ pub const __MAC_10_16: u32 = 101600; pub const __MAC_11_0: u32 = 110000; pub const __MAC_11_1: u32 = 110100; pub const __MAC_11_3: u32 = 110300; -pub const __MAC_11_4: u32 = 110400; -pub const __MAC_11_5: u32 = 110500; -pub const __MAC_12_0: u32 = 120000; pub const __IPHONE_2_0: u32 = 20000; pub const __IPHONE_2_1: u32 = 20100; pub const __IPHONE_2_2: u32 = 20200; @@ -485,10 +482,6 @@ pub const __IPHONE_14_1: u32 = 140100; pub const __IPHONE_14_2: u32 = 140200; pub const __IPHONE_14_3: u32 = 140300; pub const __IPHONE_14_5: u32 = 140500; -pub const __IPHONE_14_6: u32 = 140600; -pub const __IPHONE_14_7: u32 = 140700; -pub const __IPHONE_14_8: u32 = 140800; -pub const __IPHONE_15_0: u32 = 150000; pub const __TVOS_9_0: u32 = 90000; pub const __TVOS_9_1: u32 = 90100; pub const __TVOS_9_2: u32 = 90200; @@ -515,9 +508,6 @@ pub const __TVOS_14_1: u32 = 140100; pub const __TVOS_14_2: u32 = 140200; pub const __TVOS_14_3: u32 = 140300; pub const __TVOS_14_5: u32 = 140500; -pub const __TVOS_14_6: u32 = 140600; -pub const __TVOS_14_7: u32 = 140700; -pub const __TVOS_15_0: u32 = 150000; pub const __WATCHOS_1_0: u32 = 10000; pub const __WATCHOS_2_0: u32 = 20000; pub const __WATCHOS_2_1: u32 = 20100; @@ -542,9 +532,6 @@ pub const __WATCHOS_7_1: u32 = 70100; pub const __WATCHOS_7_2: u32 = 70200; pub const __WATCHOS_7_3: u32 = 70300; pub const __WATCHOS_7_4: u32 = 70400; -pub const __WATCHOS_7_5: u32 = 70500; -pub const __WATCHOS_7_6: u32 = 70600; -pub const __WATCHOS_8_0: u32 = 80000; pub const MAC_OS_X_VERSION_10_0: u32 = 1000; pub const MAC_OS_X_VERSION_10_1: u32 = 1010; pub const MAC_OS_X_VERSION_10_2: u32 = 1020; @@ -578,11 +565,9 @@ pub const MAC_OS_X_VERSION_10_15: u32 = 101500; pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501; pub const MAC_OS_X_VERSION_10_16: u32 = 101600; pub const MAC_OS_VERSION_11_0: u32 = 110000; -pub const MAC_OS_VERSION_12_0: u32 = 120000; pub const __DRIVERKIT_19_0: u32 = 190000; pub const __DRIVERKIT_20_0: u32 = 200000; -pub const __DRIVERKIT_21_0: u32 = 210000; -pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 120000; +pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 110300; pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1; pub const __PTHREAD_SIZE__: u32 = 8176; pub const __PTHREAD_ATTR_SIZE__: u32 = 56; @@ -842,7 +827,6 @@ pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5; pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6; pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7; pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8; -pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9; pub const IOPOL_SCOPE_PROCESS: u32 = 0; pub const IOPOL_SCOPE_THREAD: u32 = 1; pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2; @@ -869,8 +853,6 @@ pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0; pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0; pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0; -pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1; pub const WNOHANG: u32 = 1; pub const WUNTRACED: u32 = 2; pub const WCOREFLAG: u32 = 128; @@ -1100,7 +1082,7 @@ pub const KEV_DL_IFCAP_CHANGED: u32 = 19; pub const KEV_DL_LINK_QUALITY_METRIC_CHANGED: u32 = 20; pub const KEV_DL_NODE_PRESENCE: u32 = 21; pub const KEV_DL_NODE_ABSENCE: u32 = 22; -pub const KEV_DL_PRIMARY_ELECTED: u32 = 23; +pub const KEV_DL_MASTER_ELECTED: u32 = 23; pub const KEV_DL_ISSUES: u32 = 24; pub const KEV_DL_IFDELEGATE_CHANGED: u32 = 25; pub const KEV_DL_AWDL_RESTRICTED: u32 = 26; @@ -1616,7 +1598,6 @@ pub const IPV6CTL_MAXIFPREFIXES: u32 = 47; pub const IPV6CTL_MAXIFDEFROUTERS: u32 = 48; pub const IPV6CTL_MAXDYNROUTES: u32 = 49; pub const ICMPV6CTL_ND6_ONLINKNSRFC4861: u32 = 50; -pub const IPV6CTL_ULA_USETEMPADDR: u32 = 51; pub const IPV6CTL_MAXID: u32 = 51; pub const _PATH_HEQUIV: &'static [u8; 17usize] = b"/etc/hosts.equiv\0"; pub const _PATH_HOSTS: &'static [u8; 11usize] = b"/etc/hosts\0"; @@ -4157,6 +4138,14 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn zopen( + arg1: *const ::std::os::raw::c_char, + arg2: *const ::std::os::raw::c_char, + arg3: ::std::os::raw::c_int, + ) -> *mut FILE; +} +#[pg_guard] extern "C" { pub fn funopen( arg1: *const ::std::os::raw::c_void, @@ -6202,7 +6191,10 @@ extern "C" { } #[pg_guard] extern "C" { - pub fn aligned_alloc(__alignment: usize, __size: usize) -> *mut ::std::os::raw::c_void; + pub fn aligned_alloc( + __alignment: ::std::os::raw::c_ulong, + __size: ::std::os::raw::c_ulong, + ) -> *mut ::std::os::raw::c_void; } #[pg_guard] extern "C" { @@ -8809,6 +8801,10 @@ extern "C" { pub fn uuid_generate_time(out: *mut ::std::os::raw::c_uchar); } #[pg_guard] +extern "C" { + pub fn uuid_generate_early_random(out: *mut ::std::os::raw::c_uchar); +} +#[pg_guard] extern "C" { pub fn uuid_is_null(uu: *mut ::std::os::raw::c_uchar) -> ::std::os::raw::c_int; }