diff --git a/Cargo.lock b/Cargo.lock index 935f1be2b..3f98104b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,7 +280,7 @@ dependencies = [ [[package]] name = "cargo-pgx" -version = "0.4.0-beta.0" +version = "0.4.0" dependencies = [ "atty", "cargo_metadata", @@ -376,9 +376,9 @@ dependencies = [ [[package]] name = "clap" -version = "3.1.5" +version = "3.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced1892c55c910c1219e98d6fc8d71f6bddba7905866ce740066d8bfea859312" +checksum = "d8c93436c21e4698bacadf42917db28b23017027a4deccb35dbe47a7e7840123" dependencies = [ "atty", "bitflags", @@ -508,9 +508,9 @@ dependencies = [ [[package]] name = "crossbeam-channel" -version = "0.5.2" +version = "0.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e54ea8bc3fb1ee042f5aace6e3c6e025d3874866da222930f70ce62aceba0bfa" +checksum = "fdbfe11fe19ff083c48923cf179540e8cd0535903dc35e178a1fdeeb59aef51f" dependencies = [ "cfg-if", "crossbeam-utils", @@ -529,10 +529,11 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.7" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c00d6d2ea26e8b151d99093005cb442fb9a37aeaca582a03ec70946f49ab5ed9" +checksum = "1145cf131a2c6ba0615079ab6a638f7e1973ac9c2634fcbeaaad6114246efe8c" dependencies = [ + "autocfg", "cfg-if", "crossbeam-utils", "lazy_static", @@ -542,9 +543,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5e5bed1f1c269533fa816a0a5492b3545209a205ca1a54842be180eb63a16a6" +checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38" dependencies = [ "cfg-if", "lazy_static", @@ -753,9 +754,9 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "fork" -version = "0.1.18" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4c5b9b0bce249a456f83ac4404e8baad0d2ba81cf651949719a4f74eb7323bb" +checksum = "57b4f1a740392e495821244cc1658d86496ac6e67a47da67e243ed401b937717" dependencies = [ "libc", ] @@ -1028,9 +1029,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.119" +version = "0.2.120" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4" +checksum = "ad5c14e80759d0939d013e6ca49930e59fc53dd8e5009132f76240c179380c09" [[package]] name = "libflate" @@ -1174,14 +1175,15 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2" +checksum = "7ba42135c6a5917b9db9cd7b293e5409e1c6b041e6f9825e92e55a894c63b6f8" dependencies = [ "libc", "log", "miow", "ntapi", + "wasi 0.11.0+wasi-snapshot-preview1", "winapi", ] @@ -1229,13 +1231,12 @@ checksum = "546c37ac5d9e56f55e73b677106873d9d9f5190605e41a856503623648488cae" [[package]] name = "nom" -version = "7.1.0" +version = "7.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b1d11e1ef389c76fe5b81bcaf2ea32cf88b62bc494e19f493d0b30e7a930109" +checksum = "a8903e5a29a317527874d0402f867152a3d21c908bb0b933e416c65e301d4c36" dependencies = [ "memchr", "minimal-lexical", - "version_check", ] [[package]] @@ -1277,9 +1278,9 @@ dependencies = [ [[package]] name = "num_threads" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97ba99ba6393e2c3734791401b66902d981cb03bf190af674ca69949b6d5fb15" +checksum = "c539a50b93a303167eded6e8dff5220cd39447409fb659f4cd24b1f72fe4f133" dependencies = [ "libc", ] @@ -1305,9 +1306,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da32515d9f6e6e489d7bc9d84c71b060db7247dc035bbe44eac88cf87486d8d5" +checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9" [[package]] name = "openssl" @@ -1428,7 +1429,7 @@ dependencies = [ [[package]] name = "pgx" -version = "0.4.0-beta.0" +version = "0.4.0" dependencies = [ "atomic-traits", "bitflags", @@ -1455,7 +1456,7 @@ dependencies = [ [[package]] name = "pgx-macros" -version = "0.4.0-beta.0" +version = "0.4.0" dependencies = [ "pgx-utils", "proc-macro-crate", @@ -1468,7 +1469,7 @@ dependencies = [ [[package]] name = "pgx-pg-sys" -version = "0.4.0-beta.0" +version = "0.4.0" dependencies = [ "bindgen", "build-deps", @@ -1488,7 +1489,7 @@ dependencies = [ [[package]] name = "pgx-tests" -version = "0.4.0-beta.0" +version = "0.4.0" dependencies = [ "eyre", "libc", @@ -1507,7 +1508,7 @@ dependencies = [ [[package]] name = "pgx-utils" -version = "0.4.0-beta.0" +version = "0.4.0" dependencies = [ "atty", "convert_case", @@ -1813,9 +1814,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.5.4" +version = "1.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461" +checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286" dependencies = [ "aho-corasick", "memchr", @@ -2135,9 +2136,9 @@ checksum = "6057adedbec913419c92996f395ba69931acbd50b7d56955394cd3f7bedbfa45" [[package]] name = "siphasher" -version = "0.3.9" +version = "0.3.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a86232ab60fa71287d7f2ddae4a7073f6b7aac33631c3015abb556f08c6d0a3e" +checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" [[package]] name = "slab" @@ -2246,9 +2247,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.86" +version = "1.0.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a65b3f4ffa0092e9887669db0eae07941f023991ab58ea44da8fe8e2d511c6b" +checksum = "ebd69e719f31e88618baa1eaa6ee2de5c9a1c004f1e9ecdb58e8352a13f20a01" dependencies = [ "proc-macro2", "quote", @@ -2431,9 +2432,9 @@ dependencies = [ [[package]] name = "tracing" -version = "0.1.31" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6c650a8ef0cd2dd93736f033d21cbd1224c5a967aa0c258d00fcf7dafef9b9f" +checksum = "4a1bdf54a7c28a2bbf701e1d2233f6c77f473486b94bee4f9678da5a148dca7f" dependencies = [ "cfg-if", "pin-project-lite", @@ -2443,9 +2444,9 @@ dependencies = [ [[package]] name = "tracing-attributes" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8276d9a4a3a558d7b7ad5303ad50b53d58264641b82914b7ada36bd762e7a716" +checksum = "2e65ce065b4b5c53e73bb28912318cb8c9e9ad3921f1d669eb0e68b4c8143a2b" dependencies = [ "proc-macro2", "quote", @@ -2454,9 +2455,9 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03cfcb51380632a72d3111cb8d3447a8d908e577d31beeac006f836383d29a23" +checksum = "aa31669fa42c09c34d94d8165dd2012e8ff3c66aca50f3bb226b68f216f2706c" dependencies = [ "lazy_static", "valuable", @@ -2640,6 +2641,12 @@ version = "0.10.2+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + [[package]] name = "winapi" version = "0.3.9" diff --git a/cargo-pgx/Cargo.toml b/cargo-pgx/Cargo.toml index de1c17222..99548648b 100644 --- a/cargo-pgx/Cargo.toml +++ b/cargo-pgx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-pgx" -version = "0.4.0-beta.0" +version = "0.4.0" authors = ["ZomboDB, LLC "] license = "MIT" description = "Cargo subcommand for 'pgx' to make Postgres extension development easy" @@ -23,7 +23,7 @@ semver = "1.0.6" owo-colors = { version = "3.2.0", features = [ "supports-colors" ] } env_proxy = "0.4.1" num_cpus = "1.13.1" -pgx-utils = { path = "../pgx-utils", version = "0.4.0-beta.0" } +pgx-utils = { path = "../pgx-utils", version = "0.4.0" } proc-macro2 = { version = "1.0.36", features = [ "span-locations" ] } quote = "1.0.15" rayon = "1.5.1" diff --git a/cargo-pgx/src/templates/cargo_toml b/cargo-pgx/src/templates/cargo_toml index f128f52fa..08487cf49 100644 --- a/cargo-pgx/src/templates/cargo_toml +++ b/cargo-pgx/src/templates/cargo_toml @@ -16,10 +16,10 @@ pg14 = ["pgx/pg14", "pgx-tests/pg14" ] pg_test = [] [dependencies] -pgx = "0.4.0-beta.0" +pgx = "0.4.0" [dev-dependencies] -pgx-tests = "0.4.0-beta.0" +pgx-tests = "0.4.0" [profile.dev] panic = "unwind" diff --git a/nix/templates/default/Cargo.toml b/nix/templates/default/Cargo.toml index ff10b574b..23a96954a 100644 --- a/nix/templates/default/Cargo.toml +++ b/nix/templates/default/Cargo.toml @@ -16,13 +16,13 @@ pg14 = ["pgx/pg14", "pgx-tests/pg14" ] pg_test = [] [dependencies] -pgx = "0.4.0-beta.0" -pgx-macros = "0.4.0-beta.0" -pgx-utils = "0.4.0-beta.0" +pgx = "0.4.0" +pgx-macros = "0.4.0" +pgx-utils = "0.4.0" [dev-dependencies] -pgx-tests = "0.4.0-beta.0" +pgx-tests = "0.4.0" tempfile = "3.2.0" once_cell = "1.7.2" diff --git a/pgx-macros/Cargo.toml b/pgx-macros/Cargo.toml index 57ce0bb5a..9f704c5ee 100644 --- a/pgx-macros/Cargo.toml +++ b/pgx-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-macros" -version = "0.4.0-beta.0" +version = "0.4.0" authors = ["ZomboDB, LLC "] license = "MIT" description = "Proc Macros for 'pgx'" @@ -18,7 +18,7 @@ proc-macro = true rustc-args = ["--cfg", "docsrs"] [dependencies] -pgx-utils = { path = "../pgx-utils", version = "0.4.0-beta.0" } +pgx-utils = { path = "../pgx-utils", version = "0.4.0" } proc-macro2 = "1.0.36" quote = "1.0.15" syn = { version = "1.0.86", features = [ "extra-traits", "full", "fold", "parsing" ] } diff --git a/pgx-pg-sys/Cargo.toml b/pgx-pg-sys/Cargo.toml index 8e7fa2156..b32364516 100644 --- a/pgx-pg-sys/Cargo.toml +++ b/pgx-pg-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-pg-sys" -version = "0.4.0-beta.0" +version = "0.4.0" authors = ["ZomboDB, LLC "] license = "MIT" description = "Generated Rust bindings for Postgres internals, for use with 'pgx'" @@ -29,14 +29,14 @@ rustdoc-args = ["--cfg", "docsrs"] [dependencies] memoffset = "0.6.5" once_cell = "1.9.0" -pgx-macros = { path = "../pgx-macros/", version = "0.4.0-beta.0" } +pgx-macros = { path = "../pgx-macros/", version = "0.4.0" } [build-dependencies] bindgen = { version = "0.59.2", default-features = false, features = ["runtime"] } build-deps = "0.1.4" owo-colors = "3.2.0" num_cpus = "1.13.1" -pgx-utils = { path = "../pgx-utils/", version = "0.4.0-beta.0" } +pgx-utils = { path = "../pgx-utils/", version = "0.4.0" } proc-macro2 = "1.0.36" quote = "1.0.15" rayon = "1.5.1" diff --git a/pgx-pg-sys/src/pg10.rs b/pgx-pg-sys/src/pg10.rs index b2576077c..cc0b83798 100644 --- a/pgx-pg-sys/src/pg10.rs +++ b/pgx-pg-sys/src/pg10.rs @@ -331,7 +331,7 @@ pub const PG_KRB_SRVNAM: &[u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &[u8; 3usize] = b"10\0"; pub const PG_VERSION: &[u8; 6usize] = b"10.20\0"; pub const PG_VERSION_NUM: u32 = 100020; -pub const PG_VERSION_STR : & [u8 ; 102usize] = b"PostgreSQL 10.20 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, 64-bit\0" ; +pub const PG_VERSION_STR : & [u8 ; 97usize] = b"PostgreSQL 10.20 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_LONG: u32 = 8; pub const SIZEOF_OFF_T: u32 = 8; @@ -383,6 +383,10 @@ pub const __USE_POSIX199506: u32 = 1; pub const __USE_XOPEN2K: u32 = 1; pub const __USE_XOPEN2K8: u32 = 1; pub const _ATFILE_SOURCE: u32 = 1; +pub const __WORDSIZE: u32 = 64; +pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; +pub const __SYSCALL_WORDSIZE: u32 = 64; +pub const __TIMESIZE: u32 = 64; pub const __USE_MISC: u32 = 1; pub const __USE_ATFILE: u32 = 1; pub const __USE_FORTIFY_LEVEL: u32 = 0; @@ -394,28 +398,26 @@ pub const __STDC_IEC_559_COMPLEX__: u32 = 1; pub const __STDC_ISO_10646__: u32 = 201706; pub const __GNU_LIBRARY__: u32 = 6; pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 31; +pub const __GLIBC_MINOR__: u32 = 34; pub const _SYS_CDEFS_H: u32 = 1; pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0; +pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; pub const __HAVE_GENERIC_SELECTION: u32 = 1; pub const __GLIBC_USE_LIB_EXT2: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; +pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; pub const __GNUC_VA_LIST: u32 = 1; pub const _BITS_TYPES_H: u32 = 1; -pub const __TIMESIZE: u32 = 64; pub const _BITS_TYPESIZES_H: u32 = 1; pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; pub const __INO_T_MATCHES_INO64_T: u32 = 1; pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; pub const __STATFS_MATCHES_STATFS64: u32 = 1; +pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; pub const __FD_SETSIZE: u32 = 1024; pub const _BITS_TIME64_H: u32 = 1; pub const _____fpos_t_defined: u32 = 1; @@ -442,19 +444,6 @@ pub const TMP_MAX: u32 = 238328; pub const FILENAME_MAX: u32 = 4096; pub const L_ctermid: u32 = 9; pub const FOPEN_MAX: u32 = 16; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __ENUM_IDTYPE_T: u32 = 1; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; pub const __HAVE_FLOAT128: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; pub const __HAVE_FLOAT64X: u32 = 1; @@ -471,6 +460,18 @@ pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; +pub const _STDLIB_H: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WSTOPPED: u32 = 2; +pub const WEXITED: u32 = 4; +pub const WCONTINUED: u32 = 8; +pub const WNOWAIT: u32 = 16777216; +pub const __WNOTHREAD: u32 = 536870912; +pub const __WALL: u32 = 1073741824; +pub const __WCLONE: u32 = 2147483648; +pub const __W_CONTINUED: u32 = 65535; +pub const __WCOREFLAG: u32 = 128; pub const __ldiv_t_defined: u32 = 1; pub const __lldiv_t_defined: u32 = 1; pub const RAND_MAX: u32 = 2147483647; @@ -498,7 +499,6 @@ pub const BYTE_ORDER: u32 = 1234; pub const _BITS_BYTESWAP_H: u32 = 1; pub const _BITS_UINTN_IDENTITY_H: u32 = 1; pub const _SYS_SELECT_H: u32 = 1; -pub const __FD_ZERO_STOS: &[u8; 6usize] = b"stosq\0"; pub const __sigset_t_defined: u32 = 1; pub const __timeval_defined: u32 = 1; pub const _STRUCT_TIMESPEC: u32 = 1; @@ -978,6 +978,9 @@ pub const SO_TIMESTAMPING_NEW: u32 = 65; pub const SO_RCVTIMEO_NEW: u32 = 66; pub const SO_SNDTIMEO_NEW: u32 = 67; pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; +pub const SO_PREFER_BUSY_POLL: u32 = 69; +pub const SO_BUSY_POLL_BUDGET: u32 = 70; +pub const SO_NETNS_COOKIE: u32 = 71; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1036,6 +1039,7 @@ pub const IP_NODEFRAG: u32 = 22; pub const IP_CHECKSUM: u32 = 23; pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; pub const IP_RECVFRAGSIZE: u32 = 25; +pub const IP_RECVERR_RFC4884: u32 = 26; pub const IP_PMTUDISC_DONT: u32 = 0; pub const IP_PMTUDISC_WANT: u32 = 1; pub const IP_PMTUDISC_DO: u32 = 2; @@ -1071,6 +1075,7 @@ pub const IPV6_JOIN_ANYCAST: u32 = 27; pub const IPV6_LEAVE_ANYCAST: u32 = 28; pub const IPV6_MULTICAST_ALL: u32 = 29; pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; +pub const IPV6_RECVERR_RFC4884: u32 = 31; pub const IPV6_IPSEC_POLICY: u32 = 34; pub const IPV6_XFRM_POLICY: u32 = 35; pub const IPV6_HDRINCL: u32 = 36; @@ -1175,6 +1180,7 @@ pub const DEVNULL: &[u8; 10usize] = b"/dev/null\0"; pub const PG_IOLBF: u32 = 1; pub const _SETJMP_H: u32 = 1; pub const _BITS_SETJMP_H: u32 = 1; +pub const __jmp_buf_tag_defined: u32 = 1; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1464,10 +1470,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_SYMLINK_FOLLOW: u32 = 1024; pub const AT_EACCESS: u32 = 512; pub const _BITS_STAT_H: u32 = 1; -pub const _STAT_VER_KERNEL: u32 = 0; -pub const _STAT_VER_LINUX: u32 = 1; -pub const _MKNOD_VER_LINUX: u32 = 0; -pub const _STAT_VER: u32 = 1; +pub const _BITS_STRUCT_STAT_H: u32 = 1; pub const __S_IFMT: u32 = 61440; pub const __S_IFDIR: u32 = 16384; pub const __S_IFCHR: u32 = 8192; @@ -1832,7 +1835,6 @@ pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_OIDS: u32 = 32; pub const EXEC_FLAG_WITHOUT_OIDS: u32 = 64; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 128; -pub const _BITS_SIGNUM_H: u32 = 1; pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; pub const SIGINT: u32 = 2; pub const SIGILL: u32 = 4; @@ -1844,33 +1846,34 @@ pub const SIGHUP: u32 = 1; pub const SIGQUIT: u32 = 3; pub const SIGTRAP: u32 = 5; pub const SIGKILL: u32 = 9; -pub const SIGBUS: u32 = 10; -pub const SIGSYS: u32 = 12; pub const SIGPIPE: u32 = 13; pub const SIGALRM: u32 = 14; -pub const SIGURG: u32 = 16; -pub const SIGSTOP: u32 = 17; -pub const SIGTSTP: u32 = 18; -pub const SIGCONT: u32 = 19; -pub const SIGCHLD: u32 = 20; +pub const SIGIOT: u32 = 6; +pub const _BITS_SIGNUM_ARCH_H: u32 = 1; +pub const SIGSTKFLT: u32 = 16; +pub const SIGPWR: u32 = 30; +pub const SIGBUS: u32 = 7; +pub const SIGSYS: u32 = 31; +pub const SIGURG: u32 = 23; +pub const SIGSTOP: u32 = 19; +pub const SIGTSTP: u32 = 20; +pub const SIGCONT: u32 = 18; +pub const SIGCHLD: u32 = 17; pub const SIGTTIN: u32 = 21; pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 23; -pub const SIGXCPU: u32 = 24; +pub const SIGPOLL: u32 = 29; pub const SIGXFSZ: u32 = 25; +pub const SIGXCPU: u32 = 24; pub const SIGVTALRM: u32 = 26; pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 30; -pub const SIGUSR2: u32 = 31; +pub const SIGUSR1: u32 = 10; +pub const SIGUSR2: u32 = 12; pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 23; -pub const SIGIOT: u32 = 6; -pub const SIGCLD: u32 = 20; +pub const SIGIO: u32 = 29; +pub const SIGCLD: u32 = 17; pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 32; -pub const _NSIG: u32 = 33; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; +pub const __SIGRTMAX: u32 = 64; +pub const _NSIG: u32 = 65; pub const __sig_atomic_t_defined: u32 = 1; pub const __siginfo_t_defined: u32 = 1; pub const __SI_MAX_SIZE: u32 = 128; @@ -1882,7 +1885,7 @@ pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; pub const __sigevent_t_defined: u32 = 1; pub const __SIGEV_MAX_SIZE: u32 = 64; pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 33; +pub const NSIG: u32 = 65; pub const _BITS_SIGACTION_H: u32 = 1; pub const SA_NOCLDSTOP: u32 = 1; pub const SA_NOCLDWAIT: u32 = 2; @@ -2841,6 +2844,7 @@ pub type __id_t = ::std::os::raw::c_uint; pub type __time_t = ::std::os::raw::c_long; pub type __useconds_t = ::std::os::raw::c_uint; pub type __suseconds_t = ::std::os::raw::c_long; +pub type __suseconds64_t = ::std::os::raw::c_long; pub type __daddr_t = ::std::os::raw::c_int; pub type __key_t = ::std::os::raw::c_int; pub type __clockid_t = ::std::os::raw::c_int; @@ -3018,12 +3022,16 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; +} +#[pg_guard] extern "C" { pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn tmpnam(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { @@ -3037,10 +3045,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; } @@ -3201,6 +3205,10 @@ extern "C" { ... ) -> ::std::os::raw::c_int; } +pub type _Float32 = f32; +pub type _Float64 = f64; +pub type _Float32x = f64; +pub type _Float64x = u128; #[pg_guard] extern "C" { #[link_name = "\u{1}__isoc99_fscanf"] @@ -3478,19 +3486,15 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut sys_nerr: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; + pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { @@ -3500,10 +3504,6 @@ extern "C" { ) -> *mut FILE; } #[pg_guard] -extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } @@ -3528,14 +3528,6 @@ extern "C" { pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type wchar_t = ::std::os::raw::c_int; -pub const idtype_t_P_ALL: idtype_t = 0; -pub const idtype_t_P_PID: idtype_t = 1; -pub const idtype_t_P_PGID: idtype_t = 2; -pub type idtype_t = ::std::os::raw::c_uint; -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct div_t { @@ -3863,6 +3855,13 @@ impl Default for __pthread_cond_s { } } } +pub type __tss_t = ::std::os::raw::c_uint; +pub type __thrd_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __once_flag { + pub __data: ::std::os::raw::c_int, +} pub type pthread_t = ::std::os::raw::c_ulong; #[repr(C)] #[derive(Copy, Clone)] @@ -4211,6 +4210,10 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] +extern "C" { + pub fn free(__ptr: *mut ::std::os::raw::c_void); +} +#[pg_guard] extern "C" { pub fn reallocarray( __ptr: *mut ::std::os::raw::c_void, @@ -4219,10 +4222,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] -extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); -} -#[pg_guard] extern "C" { pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; } @@ -4240,7 +4239,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" { @@ -5407,6 +5409,7 @@ pub struct __kernel_fsid_t { } pub type __kernel_off_t = __kernel_long_t; pub type __kernel_loff_t = ::std::os::raw::c_longlong; +pub type __kernel_old_time_t = __kernel_long_t; pub type __kernel_time_t = __kernel_long_t; pub type __kernel_time64_t = ::std::os::raw::c_longlong; pub type __kernel_clock_t = __kernel_long_t; @@ -5646,8 +5649,10 @@ pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; +pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 256; +pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; +pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; pub type _bindgen_ty_5 = ::std::os::raw::c_uint; pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; @@ -23633,6 +23638,8 @@ pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; +pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; +pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; pub type _bindgen_ty_12 = ::std::os::raw::c_uint; pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; @@ -23874,14 +23881,6 @@ extern "C" { __val: sigval, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub static _sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} -#[pg_guard] -extern "C" { - pub static sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct _fpx_sw_bytes { diff --git a/pgx-pg-sys/src/pg11.rs b/pgx-pg-sys/src/pg11.rs index e0ced82d7..615cf11d9 100644 --- a/pgx-pg-sys/src/pg11.rs +++ b/pgx-pg-sys/src/pg11.rs @@ -327,7 +327,7 @@ pub const PG_KRB_SRVNAM: &[u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &[u8; 3usize] = b"11\0"; pub const PG_VERSION: &[u8; 6usize] = b"11.15\0"; pub const PG_VERSION_NUM: u32 = 110015; -pub const PG_VERSION_STR : & [u8 ; 102usize] = b"PostgreSQL 11.15 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, 64-bit\0" ; +pub const PG_VERSION_STR : & [u8 ; 97usize] = b"PostgreSQL 11.15 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -380,6 +380,10 @@ pub const __USE_POSIX199506: u32 = 1; pub const __USE_XOPEN2K: u32 = 1; pub const __USE_XOPEN2K8: u32 = 1; pub const _ATFILE_SOURCE: u32 = 1; +pub const __WORDSIZE: u32 = 64; +pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; +pub const __SYSCALL_WORDSIZE: u32 = 64; +pub const __TIMESIZE: u32 = 64; pub const __USE_MISC: u32 = 1; pub const __USE_ATFILE: u32 = 1; pub const __USE_FORTIFY_LEVEL: u32 = 0; @@ -391,28 +395,26 @@ pub const __STDC_IEC_559_COMPLEX__: u32 = 1; pub const __STDC_ISO_10646__: u32 = 201706; pub const __GNU_LIBRARY__: u32 = 6; pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 31; +pub const __GLIBC_MINOR__: u32 = 34; pub const _SYS_CDEFS_H: u32 = 1; pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0; +pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; pub const __HAVE_GENERIC_SELECTION: u32 = 1; pub const __GLIBC_USE_LIB_EXT2: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; +pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; pub const __GNUC_VA_LIST: u32 = 1; pub const _BITS_TYPES_H: u32 = 1; -pub const __TIMESIZE: u32 = 64; pub const _BITS_TYPESIZES_H: u32 = 1; pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; pub const __INO_T_MATCHES_INO64_T: u32 = 1; pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; pub const __STATFS_MATCHES_STATFS64: u32 = 1; +pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; pub const __FD_SETSIZE: u32 = 1024; pub const _BITS_TIME64_H: u32 = 1; pub const _____fpos_t_defined: u32 = 1; @@ -439,19 +441,6 @@ pub const TMP_MAX: u32 = 238328; pub const FILENAME_MAX: u32 = 4096; pub const L_ctermid: u32 = 9; pub const FOPEN_MAX: u32 = 16; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __ENUM_IDTYPE_T: u32 = 1; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; pub const __HAVE_FLOAT128: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; pub const __HAVE_FLOAT64X: u32 = 1; @@ -468,6 +457,18 @@ pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; +pub const _STDLIB_H: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WSTOPPED: u32 = 2; +pub const WEXITED: u32 = 4; +pub const WCONTINUED: u32 = 8; +pub const WNOWAIT: u32 = 16777216; +pub const __WNOTHREAD: u32 = 536870912; +pub const __WALL: u32 = 1073741824; +pub const __WCLONE: u32 = 2147483648; +pub const __W_CONTINUED: u32 = 65535; +pub const __WCOREFLAG: u32 = 128; pub const __ldiv_t_defined: u32 = 1; pub const __lldiv_t_defined: u32 = 1; pub const RAND_MAX: u32 = 2147483647; @@ -495,7 +496,6 @@ pub const BYTE_ORDER: u32 = 1234; pub const _BITS_BYTESWAP_H: u32 = 1; pub const _BITS_UINTN_IDENTITY_H: u32 = 1; pub const _SYS_SELECT_H: u32 = 1; -pub const __FD_ZERO_STOS: &[u8; 6usize] = b"stosq\0"; pub const __sigset_t_defined: u32 = 1; pub const __timeval_defined: u32 = 1; pub const _STRUCT_TIMESPEC: u32 = 1; @@ -977,6 +977,9 @@ pub const SO_TIMESTAMPING_NEW: u32 = 65; pub const SO_RCVTIMEO_NEW: u32 = 66; pub const SO_SNDTIMEO_NEW: u32 = 67; pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; +pub const SO_PREFER_BUSY_POLL: u32 = 69; +pub const SO_BUSY_POLL_BUDGET: u32 = 70; +pub const SO_NETNS_COOKIE: u32 = 71; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1035,6 +1038,7 @@ pub const IP_NODEFRAG: u32 = 22; pub const IP_CHECKSUM: u32 = 23; pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; pub const IP_RECVFRAGSIZE: u32 = 25; +pub const IP_RECVERR_RFC4884: u32 = 26; pub const IP_PMTUDISC_DONT: u32 = 0; pub const IP_PMTUDISC_WANT: u32 = 1; pub const IP_PMTUDISC_DO: u32 = 2; @@ -1070,6 +1074,7 @@ pub const IPV6_JOIN_ANYCAST: u32 = 27; pub const IPV6_LEAVE_ANYCAST: u32 = 28; pub const IPV6_MULTICAST_ALL: u32 = 29; pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; +pub const IPV6_RECVERR_RFC4884: u32 = 31; pub const IPV6_IPSEC_POLICY: u32 = 34; pub const IPV6_XFRM_POLICY: u32 = 35; pub const IPV6_HDRINCL: u32 = 36; @@ -1199,6 +1204,7 @@ pub const M_SQRT2: f64 = 1.4142135623730951; pub const M_SQRT1_2: f64 = 0.7071067811865476; pub const _SETJMP_H: u32 = 1; pub const _BITS_SETJMP_H: u32 = 1; +pub const __jmp_buf_tag_defined: u32 = 1; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1499,10 +1505,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_SYMLINK_FOLLOW: u32 = 1024; pub const AT_EACCESS: u32 = 512; pub const _BITS_STAT_H: u32 = 1; -pub const _STAT_VER_KERNEL: u32 = 0; -pub const _STAT_VER_LINUX: u32 = 1; -pub const _MKNOD_VER_LINUX: u32 = 0; -pub const _STAT_VER: u32 = 1; +pub const _BITS_STRUCT_STAT_H: u32 = 1; pub const __S_IFMT: u32 = 61440; pub const __S_IFDIR: u32 = 16384; pub const __S_IFCHR: u32 = 8192; @@ -1751,7 +1754,6 @@ pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_OIDS: u32 = 32; pub const EXEC_FLAG_WITHOUT_OIDS: u32 = 64; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 128; -pub const _BITS_SIGNUM_H: u32 = 1; pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; pub const SIGINT: u32 = 2; pub const SIGILL: u32 = 4; @@ -1763,33 +1765,34 @@ pub const SIGHUP: u32 = 1; pub const SIGQUIT: u32 = 3; pub const SIGTRAP: u32 = 5; pub const SIGKILL: u32 = 9; -pub const SIGBUS: u32 = 10; -pub const SIGSYS: u32 = 12; pub const SIGPIPE: u32 = 13; pub const SIGALRM: u32 = 14; -pub const SIGURG: u32 = 16; -pub const SIGSTOP: u32 = 17; -pub const SIGTSTP: u32 = 18; -pub const SIGCONT: u32 = 19; -pub const SIGCHLD: u32 = 20; +pub const SIGIOT: u32 = 6; +pub const _BITS_SIGNUM_ARCH_H: u32 = 1; +pub const SIGSTKFLT: u32 = 16; +pub const SIGPWR: u32 = 30; +pub const SIGBUS: u32 = 7; +pub const SIGSYS: u32 = 31; +pub const SIGURG: u32 = 23; +pub const SIGSTOP: u32 = 19; +pub const SIGTSTP: u32 = 20; +pub const SIGCONT: u32 = 18; +pub const SIGCHLD: u32 = 17; pub const SIGTTIN: u32 = 21; pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 23; -pub const SIGXCPU: u32 = 24; +pub const SIGPOLL: u32 = 29; pub const SIGXFSZ: u32 = 25; +pub const SIGXCPU: u32 = 24; pub const SIGVTALRM: u32 = 26; pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 30; -pub const SIGUSR2: u32 = 31; +pub const SIGUSR1: u32 = 10; +pub const SIGUSR2: u32 = 12; pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 23; -pub const SIGIOT: u32 = 6; -pub const SIGCLD: u32 = 20; +pub const SIGIO: u32 = 29; +pub const SIGCLD: u32 = 17; pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 32; -pub const _NSIG: u32 = 33; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; +pub const __SIGRTMAX: u32 = 64; +pub const _NSIG: u32 = 65; pub const __sig_atomic_t_defined: u32 = 1; pub const __siginfo_t_defined: u32 = 1; pub const __SI_MAX_SIZE: u32 = 128; @@ -1801,7 +1804,7 @@ pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; pub const __sigevent_t_defined: u32 = 1; pub const __SIGEV_MAX_SIZE: u32 = 64; pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 33; +pub const NSIG: u32 = 65; pub const _BITS_SIGACTION_H: u32 = 1; pub const SA_NOCLDSTOP: u32 = 1; pub const SA_NOCLDWAIT: u32 = 2; @@ -3003,6 +3006,7 @@ pub type __id_t = ::std::os::raw::c_uint; pub type __time_t = ::std::os::raw::c_long; pub type __useconds_t = ::std::os::raw::c_uint; pub type __suseconds_t = ::std::os::raw::c_long; +pub type __suseconds64_t = ::std::os::raw::c_long; pub type __daddr_t = ::std::os::raw::c_int; pub type __key_t = ::std::os::raw::c_int; pub type __clockid_t = ::std::os::raw::c_int; @@ -3180,12 +3184,16 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; +} +#[pg_guard] extern "C" { pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn tmpnam(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { @@ -3199,10 +3207,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; } @@ -3363,6 +3367,10 @@ extern "C" { ... ) -> ::std::os::raw::c_int; } +pub type _Float32 = f32; +pub type _Float64 = f64; +pub type _Float32x = f64; +pub type _Float64x = u128; #[pg_guard] extern "C" { #[link_name = "\u{1}__isoc99_fscanf"] @@ -3640,19 +3648,15 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut sys_nerr: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; + pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { @@ -3662,10 +3666,6 @@ extern "C" { ) -> *mut FILE; } #[pg_guard] -extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } @@ -3690,14 +3690,6 @@ extern "C" { pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type wchar_t = ::std::os::raw::c_int; -pub const idtype_t_P_ALL: idtype_t = 0; -pub const idtype_t_P_PID: idtype_t = 1; -pub const idtype_t_P_PGID: idtype_t = 2; -pub type idtype_t = ::std::os::raw::c_uint; -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct div_t { @@ -4025,6 +4017,13 @@ impl Default for __pthread_cond_s { } } } +pub type __tss_t = ::std::os::raw::c_uint; +pub type __thrd_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __once_flag { + pub __data: ::std::os::raw::c_int, +} pub type pthread_t = ::std::os::raw::c_ulong; #[repr(C)] #[derive(Copy, Clone)] @@ -4373,6 +4372,10 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] +extern "C" { + pub fn free(__ptr: *mut ::std::os::raw::c_void); +} +#[pg_guard] extern "C" { pub fn reallocarray( __ptr: *mut ::std::os::raw::c_void, @@ -4381,10 +4384,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] -extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); -} -#[pg_guard] extern "C" { pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; } @@ -4402,7 +4401,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" { @@ -5577,6 +5579,7 @@ pub struct __kernel_fsid_t { } pub type __kernel_off_t = __kernel_long_t; pub type __kernel_loff_t = ::std::os::raw::c_longlong; +pub type __kernel_old_time_t = __kernel_long_t; pub type __kernel_time_t = __kernel_long_t; pub type __kernel_time64_t = ::std::os::raw::c_longlong; pub type __kernel_clock_t = __kernel_long_t; @@ -5816,8 +5819,10 @@ pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; +pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 256; +pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; +pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; pub type _bindgen_ty_5 = ::std::os::raw::c_uint; pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; @@ -25316,6 +25321,8 @@ pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; +pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; +pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; pub type _bindgen_ty_13 = ::std::os::raw::c_uint; pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; @@ -25557,14 +25564,6 @@ extern "C" { __val: sigval, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub static _sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} -#[pg_guard] -extern "C" { - pub static sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct _fpx_sw_bytes { diff --git a/pgx-pg-sys/src/pg12.rs b/pgx-pg-sys/src/pg12.rs index c2dcd680f..1c47ee350 100644 --- a/pgx-pg-sys/src/pg12.rs +++ b/pgx-pg-sys/src/pg12.rs @@ -333,7 +333,7 @@ pub const PG_KRB_SRVNAM: &[u8; 9usize] = b"postgres\0"; pub const PG_MAJORVERSION: &[u8; 3usize] = b"12\0"; pub const PG_VERSION: &[u8; 6usize] = b"12.10\0"; pub const PG_VERSION_NUM: u32 = 120010; -pub const PG_VERSION_STR : & [u8 ; 102usize] = b"PostgreSQL 12.10 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, 64-bit\0" ; +pub const PG_VERSION_STR : & [u8 ; 97usize] = b"PostgreSQL 12.10 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -386,6 +386,10 @@ pub const __USE_POSIX199506: u32 = 1; pub const __USE_XOPEN2K: u32 = 1; pub const __USE_XOPEN2K8: u32 = 1; pub const _ATFILE_SOURCE: u32 = 1; +pub const __WORDSIZE: u32 = 64; +pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; +pub const __SYSCALL_WORDSIZE: u32 = 64; +pub const __TIMESIZE: u32 = 64; pub const __USE_MISC: u32 = 1; pub const __USE_ATFILE: u32 = 1; pub const __USE_FORTIFY_LEVEL: u32 = 0; @@ -397,28 +401,26 @@ pub const __STDC_IEC_559_COMPLEX__: u32 = 1; pub const __STDC_ISO_10646__: u32 = 201706; pub const __GNU_LIBRARY__: u32 = 6; pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 31; +pub const __GLIBC_MINOR__: u32 = 34; pub const _SYS_CDEFS_H: u32 = 1; pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0; +pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; pub const __HAVE_GENERIC_SELECTION: u32 = 1; pub const __GLIBC_USE_LIB_EXT2: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; +pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; pub const __GNUC_VA_LIST: u32 = 1; pub const _BITS_TYPES_H: u32 = 1; -pub const __TIMESIZE: u32 = 64; pub const _BITS_TYPESIZES_H: u32 = 1; pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; pub const __INO_T_MATCHES_INO64_T: u32 = 1; pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; pub const __STATFS_MATCHES_STATFS64: u32 = 1; +pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; pub const __FD_SETSIZE: u32 = 1024; pub const _BITS_TIME64_H: u32 = 1; pub const _____fpos_t_defined: u32 = 1; @@ -445,19 +447,6 @@ pub const TMP_MAX: u32 = 238328; pub const FILENAME_MAX: u32 = 4096; pub const L_ctermid: u32 = 9; pub const FOPEN_MAX: u32 = 16; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __ENUM_IDTYPE_T: u32 = 1; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; pub const __HAVE_FLOAT128: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; pub const __HAVE_FLOAT64X: u32 = 1; @@ -474,6 +463,18 @@ pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; +pub const _STDLIB_H: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WSTOPPED: u32 = 2; +pub const WEXITED: u32 = 4; +pub const WCONTINUED: u32 = 8; +pub const WNOWAIT: u32 = 16777216; +pub const __WNOTHREAD: u32 = 536870912; +pub const __WALL: u32 = 1073741824; +pub const __WCLONE: u32 = 2147483648; +pub const __W_CONTINUED: u32 = 65535; +pub const __WCOREFLAG: u32 = 128; pub const __ldiv_t_defined: u32 = 1; pub const __lldiv_t_defined: u32 = 1; pub const RAND_MAX: u32 = 2147483647; @@ -501,7 +502,6 @@ pub const BYTE_ORDER: u32 = 1234; pub const _BITS_BYTESWAP_H: u32 = 1; pub const _BITS_UINTN_IDENTITY_H: u32 = 1; pub const _SYS_SELECT_H: u32 = 1; -pub const __FD_ZERO_STOS: &[u8; 6usize] = b"stosq\0"; pub const __sigset_t_defined: u32 = 1; pub const __timeval_defined: u32 = 1; pub const _STRUCT_TIMESPEC: u32 = 1; @@ -983,6 +983,9 @@ pub const SO_TIMESTAMPING_NEW: u32 = 65; pub const SO_RCVTIMEO_NEW: u32 = 66; pub const SO_SNDTIMEO_NEW: u32 = 67; pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; +pub const SO_PREFER_BUSY_POLL: u32 = 69; +pub const SO_BUSY_POLL_BUDGET: u32 = 70; +pub const SO_NETNS_COOKIE: u32 = 71; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1041,6 +1044,7 @@ pub const IP_NODEFRAG: u32 = 22; pub const IP_CHECKSUM: u32 = 23; pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; pub const IP_RECVFRAGSIZE: u32 = 25; +pub const IP_RECVERR_RFC4884: u32 = 26; pub const IP_PMTUDISC_DONT: u32 = 0; pub const IP_PMTUDISC_WANT: u32 = 1; pub const IP_PMTUDISC_DO: u32 = 2; @@ -1076,6 +1080,7 @@ pub const IPV6_JOIN_ANYCAST: u32 = 27; pub const IPV6_LEAVE_ANYCAST: u32 = 28; pub const IPV6_MULTICAST_ALL: u32 = 29; pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; +pub const IPV6_RECVERR_RFC4884: u32 = 31; pub const IPV6_IPSEC_POLICY: u32 = 34; pub const IPV6_XFRM_POLICY: u32 = 35; pub const IPV6_HDRINCL: u32 = 36; @@ -1207,6 +1212,7 @@ pub const M_SQRT2: f64 = 1.4142135623730951; pub const M_SQRT1_2: f64 = 0.7071067811865476; pub const _SETJMP_H: u32 = 1; pub const _BITS_SETJMP_H: u32 = 1; +pub const __jmp_buf_tag_defined: u32 = 1; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1369,10 +1375,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_SYMLINK_FOLLOW: u32 = 1024; pub const AT_EACCESS: u32 = 512; pub const _BITS_STAT_H: u32 = 1; -pub const _STAT_VER_KERNEL: u32 = 0; -pub const _STAT_VER_LINUX: u32 = 1; -pub const _MKNOD_VER_LINUX: u32 = 0; -pub const _STAT_VER: u32 = 1; +pub const _BITS_STRUCT_STAT_H: u32 = 1; pub const __S_IFMT: u32 = 61440; pub const __S_IFDIR: u32 = 16384; pub const __S_IFCHR: u32 = 8192; @@ -1788,7 +1791,6 @@ pub const EXEC_FLAG_BACKWARD: u32 = 4; pub const EXEC_FLAG_MARK: u32 = 8; pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 32; -pub const _BITS_SIGNUM_H: u32 = 1; pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; pub const SIGINT: u32 = 2; pub const SIGILL: u32 = 4; @@ -1800,33 +1802,34 @@ pub const SIGHUP: u32 = 1; pub const SIGQUIT: u32 = 3; pub const SIGTRAP: u32 = 5; pub const SIGKILL: u32 = 9; -pub const SIGBUS: u32 = 10; -pub const SIGSYS: u32 = 12; pub const SIGPIPE: u32 = 13; pub const SIGALRM: u32 = 14; -pub const SIGURG: u32 = 16; -pub const SIGSTOP: u32 = 17; -pub const SIGTSTP: u32 = 18; -pub const SIGCONT: u32 = 19; -pub const SIGCHLD: u32 = 20; +pub const SIGIOT: u32 = 6; +pub const _BITS_SIGNUM_ARCH_H: u32 = 1; +pub const SIGSTKFLT: u32 = 16; +pub const SIGPWR: u32 = 30; +pub const SIGBUS: u32 = 7; +pub const SIGSYS: u32 = 31; +pub const SIGURG: u32 = 23; +pub const SIGSTOP: u32 = 19; +pub const SIGTSTP: u32 = 20; +pub const SIGCONT: u32 = 18; +pub const SIGCHLD: u32 = 17; pub const SIGTTIN: u32 = 21; pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 23; -pub const SIGXCPU: u32 = 24; +pub const SIGPOLL: u32 = 29; pub const SIGXFSZ: u32 = 25; +pub const SIGXCPU: u32 = 24; pub const SIGVTALRM: u32 = 26; pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 30; -pub const SIGUSR2: u32 = 31; +pub const SIGUSR1: u32 = 10; +pub const SIGUSR2: u32 = 12; pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 23; -pub const SIGIOT: u32 = 6; -pub const SIGCLD: u32 = 20; +pub const SIGIO: u32 = 29; +pub const SIGCLD: u32 = 17; pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 32; -pub const _NSIG: u32 = 33; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; +pub const __SIGRTMAX: u32 = 64; +pub const _NSIG: u32 = 65; pub const __sig_atomic_t_defined: u32 = 1; pub const __siginfo_t_defined: u32 = 1; pub const __SI_MAX_SIZE: u32 = 128; @@ -1838,7 +1841,7 @@ pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; pub const __sigevent_t_defined: u32 = 1; pub const __SIGEV_MAX_SIZE: u32 = 64; pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 33; +pub const NSIG: u32 = 65; pub const _BITS_SIGACTION_H: u32 = 1; pub const SA_NOCLDSTOP: u32 = 1; pub const SA_NOCLDWAIT: u32 = 2; @@ -3057,6 +3060,7 @@ pub type __id_t = ::std::os::raw::c_uint; pub type __time_t = ::std::os::raw::c_long; pub type __useconds_t = ::std::os::raw::c_uint; pub type __suseconds_t = ::std::os::raw::c_long; +pub type __suseconds64_t = ::std::os::raw::c_long; pub type __daddr_t = ::std::os::raw::c_int; pub type __key_t = ::std::os::raw::c_int; pub type __clockid_t = ::std::os::raw::c_int; @@ -3234,12 +3238,16 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; +} +#[pg_guard] extern "C" { pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn tmpnam(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { @@ -3253,10 +3261,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; } @@ -3417,6 +3421,10 @@ extern "C" { ... ) -> ::std::os::raw::c_int; } +pub type _Float32 = f32; +pub type _Float64 = f64; +pub type _Float32x = f64; +pub type _Float64x = u128; #[pg_guard] extern "C" { #[link_name = "\u{1}__isoc99_fscanf"] @@ -3694,19 +3702,15 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut sys_nerr: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; + pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { @@ -3716,10 +3720,6 @@ extern "C" { ) -> *mut FILE; } #[pg_guard] -extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } @@ -3744,14 +3744,6 @@ extern "C" { pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type wchar_t = ::std::os::raw::c_int; -pub const idtype_t_P_ALL: idtype_t = 0; -pub const idtype_t_P_PID: idtype_t = 1; -pub const idtype_t_P_PGID: idtype_t = 2; -pub type idtype_t = ::std::os::raw::c_uint; -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct div_t { @@ -4079,6 +4071,13 @@ impl Default for __pthread_cond_s { } } } +pub type __tss_t = ::std::os::raw::c_uint; +pub type __thrd_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __once_flag { + pub __data: ::std::os::raw::c_int, +} pub type pthread_t = ::std::os::raw::c_ulong; #[repr(C)] #[derive(Copy, Clone)] @@ -4427,6 +4426,10 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] +extern "C" { + pub fn free(__ptr: *mut ::std::os::raw::c_void); +} +#[pg_guard] extern "C" { pub fn reallocarray( __ptr: *mut ::std::os::raw::c_void, @@ -4435,10 +4438,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] -extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); -} -#[pg_guard] extern "C" { pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; } @@ -4456,7 +4455,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" { @@ -5631,6 +5633,7 @@ pub struct __kernel_fsid_t { } pub type __kernel_off_t = __kernel_long_t; pub type __kernel_loff_t = ::std::os::raw::c_longlong; +pub type __kernel_old_time_t = __kernel_long_t; pub type __kernel_time_t = __kernel_long_t; pub type __kernel_time64_t = ::std::os::raw::c_longlong; pub type __kernel_clock_t = __kernel_long_t; @@ -5870,8 +5873,10 @@ pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; +pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 256; +pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; +pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; pub type _bindgen_ty_5 = ::std::os::raw::c_uint; pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; @@ -23829,6 +23834,8 @@ pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; +pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; +pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; pub type _bindgen_ty_13 = ::std::os::raw::c_uint; pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; @@ -24070,14 +24077,6 @@ extern "C" { __val: sigval, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub static _sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} -#[pg_guard] -extern "C" { - pub static sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct _fpx_sw_bytes { diff --git a/pgx-pg-sys/src/pg13.rs b/pgx-pg-sys/src/pg13.rs index 9b4e00316..4d00eda1a 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 : & [u8 ; 104usize] = b" '--prefix=/home/einar/.pgx/13.6/pgx-install' '--with-pgport=28813' '--enable-debug' '--enable-cassert'\0" ; +pub const CONFIGURE_ARGS : & [u8 ; 102usize] = b" '--prefix=/home/ana/.pgx/13.6/pgx-install' '--with-pgport=28813' '--enable-debug' '--enable-cassert'\0" ; pub const DEF_PGPORT: u32 = 28813; pub const DEF_PGPORT_STR: &[u8; 6usize] = b"28813\0"; pub const ENABLE_THREAD_SAFETY: u32 = 1; @@ -328,7 +328,7 @@ pub const PG_MINORVERSION_NUM: u32 = 6; pub const PG_USE_STDBOOL: u32 = 1; pub const PG_VERSION: &[u8; 5usize] = b"13.6\0"; pub const PG_VERSION_NUM: u32 = 130006; -pub const PG_VERSION_STR : & [u8 ; 101usize] = b"PostgreSQL 13.6 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, 64-bit\0" ; +pub const PG_VERSION_STR : & [u8 ; 96usize] = b"PostgreSQL 13.6 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -380,6 +380,10 @@ pub const __USE_POSIX199506: u32 = 1; pub const __USE_XOPEN2K: u32 = 1; pub const __USE_XOPEN2K8: u32 = 1; pub const _ATFILE_SOURCE: u32 = 1; +pub const __WORDSIZE: u32 = 64; +pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; +pub const __SYSCALL_WORDSIZE: u32 = 64; +pub const __TIMESIZE: u32 = 64; pub const __USE_MISC: u32 = 1; pub const __USE_ATFILE: u32 = 1; pub const __USE_FORTIFY_LEVEL: u32 = 0; @@ -391,28 +395,26 @@ pub const __STDC_IEC_559_COMPLEX__: u32 = 1; pub const __STDC_ISO_10646__: u32 = 201706; pub const __GNU_LIBRARY__: u32 = 6; pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 31; +pub const __GLIBC_MINOR__: u32 = 34; pub const _SYS_CDEFS_H: u32 = 1; pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0; +pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; pub const __HAVE_GENERIC_SELECTION: u32 = 1; pub const __GLIBC_USE_LIB_EXT2: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; +pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; pub const __GNUC_VA_LIST: u32 = 1; pub const _BITS_TYPES_H: u32 = 1; -pub const __TIMESIZE: u32 = 64; pub const _BITS_TYPESIZES_H: u32 = 1; pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; pub const __INO_T_MATCHES_INO64_T: u32 = 1; pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; pub const __STATFS_MATCHES_STATFS64: u32 = 1; +pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; pub const __FD_SETSIZE: u32 = 1024; pub const _BITS_TIME64_H: u32 = 1; pub const _____fpos_t_defined: u32 = 1; @@ -439,19 +441,6 @@ pub const TMP_MAX: u32 = 238328; pub const FILENAME_MAX: u32 = 4096; pub const L_ctermid: u32 = 9; pub const FOPEN_MAX: u32 = 16; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __ENUM_IDTYPE_T: u32 = 1; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; pub const __HAVE_FLOAT128: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; pub const __HAVE_FLOAT64X: u32 = 1; @@ -468,6 +457,18 @@ pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; +pub const _STDLIB_H: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WSTOPPED: u32 = 2; +pub const WEXITED: u32 = 4; +pub const WCONTINUED: u32 = 8; +pub const WNOWAIT: u32 = 16777216; +pub const __WNOTHREAD: u32 = 536870912; +pub const __WALL: u32 = 1073741824; +pub const __WCLONE: u32 = 2147483648; +pub const __W_CONTINUED: u32 = 65535; +pub const __WCOREFLAG: u32 = 128; pub const __ldiv_t_defined: u32 = 1; pub const __lldiv_t_defined: u32 = 1; pub const RAND_MAX: u32 = 2147483647; @@ -495,7 +496,6 @@ pub const BYTE_ORDER: u32 = 1234; pub const _BITS_BYTESWAP_H: u32 = 1; pub const _BITS_UINTN_IDENTITY_H: u32 = 1; pub const _SYS_SELECT_H: u32 = 1; -pub const __FD_ZERO_STOS: &[u8; 6usize] = b"stosq\0"; pub const __sigset_t_defined: u32 = 1; pub const __timeval_defined: u32 = 1; pub const _STRUCT_TIMESPEC: u32 = 1; @@ -977,6 +977,9 @@ pub const SO_TIMESTAMPING_NEW: u32 = 65; pub const SO_RCVTIMEO_NEW: u32 = 66; pub const SO_SNDTIMEO_NEW: u32 = 67; pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; +pub const SO_PREFER_BUSY_POLL: u32 = 69; +pub const SO_BUSY_POLL_BUDGET: u32 = 70; +pub const SO_NETNS_COOKIE: u32 = 71; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1035,6 +1038,7 @@ pub const IP_NODEFRAG: u32 = 22; pub const IP_CHECKSUM: u32 = 23; pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; pub const IP_RECVFRAGSIZE: u32 = 25; +pub const IP_RECVERR_RFC4884: u32 = 26; pub const IP_PMTUDISC_DONT: u32 = 0; pub const IP_PMTUDISC_WANT: u32 = 1; pub const IP_PMTUDISC_DO: u32 = 2; @@ -1070,6 +1074,7 @@ pub const IPV6_JOIN_ANYCAST: u32 = 27; pub const IPV6_LEAVE_ANYCAST: u32 = 28; pub const IPV6_MULTICAST_ALL: u32 = 29; pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; +pub const IPV6_RECVERR_RFC4884: u32 = 31; pub const IPV6_IPSEC_POLICY: u32 = 34; pub const IPV6_XFRM_POLICY: u32 = 35; pub const IPV6_HDRINCL: u32 = 36; @@ -1201,6 +1206,7 @@ pub const M_SQRT2: f64 = 1.4142135623730951; pub const M_SQRT1_2: f64 = 0.7071067811865476; pub const _SETJMP_H: u32 = 1; pub const _BITS_SETJMP_H: u32 = 1; +pub const __jmp_buf_tag_defined: u32 = 1; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1348,10 +1354,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_SYMLINK_FOLLOW: u32 = 1024; pub const AT_EACCESS: u32 = 512; pub const _BITS_STAT_H: u32 = 1; -pub const _STAT_VER_KERNEL: u32 = 0; -pub const _STAT_VER_LINUX: u32 = 1; -pub const _MKNOD_VER_LINUX: u32 = 0; -pub const _STAT_VER: u32 = 1; +pub const _BITS_STRUCT_STAT_H: u32 = 1; pub const __S_IFMT: u32 = 61440; pub const __S_IFDIR: u32 = 16384; pub const __S_IFCHR: u32 = 8192; @@ -2014,7 +2017,6 @@ pub const EXEC_FLAG_BACKWARD: u32 = 4; pub const EXEC_FLAG_MARK: u32 = 8; pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 32; -pub const _BITS_SIGNUM_H: u32 = 1; pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; pub const SIGINT: u32 = 2; pub const SIGILL: u32 = 4; @@ -2026,33 +2028,34 @@ pub const SIGHUP: u32 = 1; pub const SIGQUIT: u32 = 3; pub const SIGTRAP: u32 = 5; pub const SIGKILL: u32 = 9; -pub const SIGBUS: u32 = 10; -pub const SIGSYS: u32 = 12; pub const SIGPIPE: u32 = 13; pub const SIGALRM: u32 = 14; -pub const SIGURG: u32 = 16; -pub const SIGSTOP: u32 = 17; -pub const SIGTSTP: u32 = 18; -pub const SIGCONT: u32 = 19; -pub const SIGCHLD: u32 = 20; +pub const SIGIOT: u32 = 6; +pub const _BITS_SIGNUM_ARCH_H: u32 = 1; +pub const SIGSTKFLT: u32 = 16; +pub const SIGPWR: u32 = 30; +pub const SIGBUS: u32 = 7; +pub const SIGSYS: u32 = 31; +pub const SIGURG: u32 = 23; +pub const SIGSTOP: u32 = 19; +pub const SIGTSTP: u32 = 20; +pub const SIGCONT: u32 = 18; +pub const SIGCHLD: u32 = 17; pub const SIGTTIN: u32 = 21; pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 23; -pub const SIGXCPU: u32 = 24; +pub const SIGPOLL: u32 = 29; pub const SIGXFSZ: u32 = 25; +pub const SIGXCPU: u32 = 24; pub const SIGVTALRM: u32 = 26; pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 30; -pub const SIGUSR2: u32 = 31; +pub const SIGUSR1: u32 = 10; +pub const SIGUSR2: u32 = 12; pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 23; -pub const SIGIOT: u32 = 6; -pub const SIGCLD: u32 = 20; +pub const SIGIO: u32 = 29; +pub const SIGCLD: u32 = 17; pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 32; -pub const _NSIG: u32 = 33; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; +pub const __SIGRTMAX: u32 = 64; +pub const _NSIG: u32 = 65; pub const __sig_atomic_t_defined: u32 = 1; pub const __siginfo_t_defined: u32 = 1; pub const __SI_MAX_SIZE: u32 = 128; @@ -2064,7 +2067,7 @@ pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; pub const __sigevent_t_defined: u32 = 1; pub const __SIGEV_MAX_SIZE: u32 = 64; pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 33; +pub const NSIG: u32 = 65; pub const _BITS_SIGACTION_H: u32 = 1; pub const SA_NOCLDSTOP: u32 = 1; pub const SA_NOCLDWAIT: u32 = 2; @@ -3057,6 +3060,7 @@ pub type __id_t = ::std::os::raw::c_uint; pub type __time_t = ::std::os::raw::c_long; pub type __useconds_t = ::std::os::raw::c_uint; pub type __suseconds_t = ::std::os::raw::c_long; +pub type __suseconds64_t = ::std::os::raw::c_long; pub type __daddr_t = ::std::os::raw::c_int; pub type __key_t = ::std::os::raw::c_int; pub type __clockid_t = ::std::os::raw::c_int; @@ -3234,12 +3238,16 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; +} +#[pg_guard] extern "C" { pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn tmpnam(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { @@ -3253,10 +3261,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; } @@ -3417,6 +3421,10 @@ extern "C" { ... ) -> ::std::os::raw::c_int; } +pub type _Float32 = f32; +pub type _Float64 = f64; +pub type _Float32x = f64; +pub type _Float64x = u128; #[pg_guard] extern "C" { #[link_name = "\u{1}__isoc99_fscanf"] @@ -3694,19 +3702,15 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut sys_nerr: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; + pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { @@ -3716,10 +3720,6 @@ extern "C" { ) -> *mut FILE; } #[pg_guard] -extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } @@ -3744,14 +3744,6 @@ extern "C" { pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type wchar_t = ::std::os::raw::c_int; -pub const idtype_t_P_ALL: idtype_t = 0; -pub const idtype_t_P_PID: idtype_t = 1; -pub const idtype_t_P_PGID: idtype_t = 2; -pub type idtype_t = ::std::os::raw::c_uint; -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct div_t { @@ -4079,6 +4071,13 @@ impl Default for __pthread_cond_s { } } } +pub type __tss_t = ::std::os::raw::c_uint; +pub type __thrd_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __once_flag { + pub __data: ::std::os::raw::c_int, +} pub type pthread_t = ::std::os::raw::c_ulong; #[repr(C)] #[derive(Copy, Clone)] @@ -4427,6 +4426,10 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] +extern "C" { + pub fn free(__ptr: *mut ::std::os::raw::c_void); +} +#[pg_guard] extern "C" { pub fn reallocarray( __ptr: *mut ::std::os::raw::c_void, @@ -4435,10 +4438,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] -extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); -} -#[pg_guard] extern "C" { pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; } @@ -4456,7 +4455,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" { @@ -5631,6 +5633,7 @@ pub struct __kernel_fsid_t { } pub type __kernel_off_t = __kernel_long_t; pub type __kernel_loff_t = ::std::os::raw::c_longlong; +pub type __kernel_old_time_t = __kernel_long_t; pub type __kernel_time_t = __kernel_long_t; pub type __kernel_time64_t = ::std::os::raw::c_longlong; pub type __kernel_clock_t = __kernel_long_t; @@ -5870,8 +5873,10 @@ pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; +pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 256; +pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; +pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; pub type _bindgen_ty_5 = ::std::os::raw::c_uint; pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; @@ -24570,6 +24575,8 @@ pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; +pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; +pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; pub type _bindgen_ty_13 = ::std::os::raw::c_uint; pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; @@ -24811,14 +24818,6 @@ extern "C" { __val: sigval, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub static _sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} -#[pg_guard] -extern "C" { - pub static sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct _fpx_sw_bytes { diff --git a/pgx-pg-sys/src/pg14.rs b/pgx-pg-sys/src/pg14.rs index 76108bfdd..3e47516e9 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 : & [u8 ; 104usize] = b" '--prefix=/home/einar/.pgx/14.2/pgx-install' '--with-pgport=28814' '--enable-debug' '--enable-cassert'\0" ; +pub const CONFIGURE_ARGS : & [u8 ; 102usize] = b" '--prefix=/home/ana/.pgx/14.2/pgx-install' '--with-pgport=28814' '--enable-debug' '--enable-cassert'\0" ; pub const DEF_PGPORT: u32 = 28814; pub const DEF_PGPORT_STR: &[u8; 6usize] = b"28814\0"; pub const ENABLE_THREAD_SAFETY: u32 = 1; @@ -335,7 +335,7 @@ pub const PG_MINORVERSION_NUM: u32 = 2; pub const PG_USE_STDBOOL: u32 = 1; pub const PG_VERSION: &[u8; 5usize] = b"14.2\0"; pub const PG_VERSION_NUM: u32 = 140002; -pub const PG_VERSION_STR : & [u8 ; 101usize] = b"PostgreSQL 14.2 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, 64-bit\0" ; +pub const PG_VERSION_STR : & [u8 ; 96usize] = b"PostgreSQL 14.2 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0, 64-bit\0" ; pub const RELSEG_SIZE: u32 = 131072; pub const SIZEOF_BOOL: u32 = 1; pub const SIZEOF_LONG: u32 = 8; @@ -386,6 +386,10 @@ pub const __USE_POSIX199506: u32 = 1; pub const __USE_XOPEN2K: u32 = 1; pub const __USE_XOPEN2K8: u32 = 1; pub const _ATFILE_SOURCE: u32 = 1; +pub const __WORDSIZE: u32 = 64; +pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; +pub const __SYSCALL_WORDSIZE: u32 = 64; +pub const __TIMESIZE: u32 = 64; pub const __USE_MISC: u32 = 1; pub const __USE_ATFILE: u32 = 1; pub const __USE_FORTIFY_LEVEL: u32 = 0; @@ -397,28 +401,26 @@ pub const __STDC_IEC_559_COMPLEX__: u32 = 1; pub const __STDC_ISO_10646__: u32 = 201706; pub const __GNU_LIBRARY__: u32 = 6; pub const __GLIBC__: u32 = 2; -pub const __GLIBC_MINOR__: u32 = 31; +pub const __GLIBC_MINOR__: u32 = 34; pub const _SYS_CDEFS_H: u32 = 1; pub const __glibc_c99_flexarr_available: u32 = 1; -pub const __WORDSIZE: u32 = 64; -pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1; -pub const __SYSCALL_WORDSIZE: u32 = 64; -pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0; +pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0; pub const __HAVE_GENERIC_SELECTION: u32 = 1; pub const __GLIBC_USE_LIB_EXT2: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0; +pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0; pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0; pub const __GNUC_VA_LIST: u32 = 1; pub const _BITS_TYPES_H: u32 = 1; -pub const __TIMESIZE: u32 = 64; pub const _BITS_TYPESIZES_H: u32 = 1; pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; pub const __INO_T_MATCHES_INO64_T: u32 = 1; pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; pub const __STATFS_MATCHES_STATFS64: u32 = 1; +pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1; pub const __FD_SETSIZE: u32 = 1024; pub const _BITS_TIME64_H: u32 = 1; pub const _____fpos_t_defined: u32 = 1; @@ -445,19 +447,6 @@ pub const TMP_MAX: u32 = 238328; pub const FILENAME_MAX: u32 = 4096; pub const L_ctermid: u32 = 9; pub const FOPEN_MAX: u32 = 16; -pub const _STDLIB_H: u32 = 1; -pub const WNOHANG: u32 = 1; -pub const WUNTRACED: u32 = 2; -pub const WSTOPPED: u32 = 2; -pub const WEXITED: u32 = 4; -pub const WCONTINUED: u32 = 8; -pub const WNOWAIT: u32 = 16777216; -pub const __WNOTHREAD: u32 = 536870912; -pub const __WALL: u32 = 1073741824; -pub const __WCLONE: u32 = 2147483648; -pub const __ENUM_IDTYPE_T: u32 = 1; -pub const __W_CONTINUED: u32 = 65535; -pub const __WCOREFLAG: u32 = 128; pub const __HAVE_FLOAT128: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128: u32 = 0; pub const __HAVE_FLOAT64X: u32 = 1; @@ -474,6 +463,18 @@ pub const __HAVE_DISTINCT_FLOAT32X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT64X: u32 = 0; pub const __HAVE_DISTINCT_FLOAT128X: u32 = 0; pub const __HAVE_FLOATN_NOT_TYPEDEF: u32 = 0; +pub const _STDLIB_H: u32 = 1; +pub const WNOHANG: u32 = 1; +pub const WUNTRACED: u32 = 2; +pub const WSTOPPED: u32 = 2; +pub const WEXITED: u32 = 4; +pub const WCONTINUED: u32 = 8; +pub const WNOWAIT: u32 = 16777216; +pub const __WNOTHREAD: u32 = 536870912; +pub const __WALL: u32 = 1073741824; +pub const __WCLONE: u32 = 2147483648; +pub const __W_CONTINUED: u32 = 65535; +pub const __WCOREFLAG: u32 = 128; pub const __ldiv_t_defined: u32 = 1; pub const __lldiv_t_defined: u32 = 1; pub const RAND_MAX: u32 = 2147483647; @@ -501,7 +502,6 @@ pub const BYTE_ORDER: u32 = 1234; pub const _BITS_BYTESWAP_H: u32 = 1; pub const _BITS_UINTN_IDENTITY_H: u32 = 1; pub const _SYS_SELECT_H: u32 = 1; -pub const __FD_ZERO_STOS: &[u8; 6usize] = b"stosq\0"; pub const __sigset_t_defined: u32 = 1; pub const __timeval_defined: u32 = 1; pub const _STRUCT_TIMESPEC: u32 = 1; @@ -981,6 +981,9 @@ pub const SO_TIMESTAMPING_NEW: u32 = 65; pub const SO_RCVTIMEO_NEW: u32 = 66; pub const SO_SNDTIMEO_NEW: u32 = 67; pub const SO_DETACH_REUSEPORT_BPF: u32 = 68; +pub const SO_PREFER_BUSY_POLL: u32 = 69; +pub const SO_BUSY_POLL_BUDGET: u32 = 70; +pub const SO_NETNS_COOKIE: u32 = 71; pub const SO_TIMESTAMP: u32 = 29; pub const SO_TIMESTAMPNS: u32 = 35; pub const SO_TIMESTAMPING: u32 = 37; @@ -1039,6 +1042,7 @@ pub const IP_NODEFRAG: u32 = 22; pub const IP_CHECKSUM: u32 = 23; pub const IP_BIND_ADDRESS_NO_PORT: u32 = 24; pub const IP_RECVFRAGSIZE: u32 = 25; +pub const IP_RECVERR_RFC4884: u32 = 26; pub const IP_PMTUDISC_DONT: u32 = 0; pub const IP_PMTUDISC_WANT: u32 = 1; pub const IP_PMTUDISC_DO: u32 = 2; @@ -1074,6 +1078,7 @@ pub const IPV6_JOIN_ANYCAST: u32 = 27; pub const IPV6_LEAVE_ANYCAST: u32 = 28; pub const IPV6_MULTICAST_ALL: u32 = 29; pub const IPV6_ROUTER_ALERT_ISOLATE: u32 = 30; +pub const IPV6_RECVERR_RFC4884: u32 = 31; pub const IPV6_IPSEC_POLICY: u32 = 34; pub const IPV6_XFRM_POLICY: u32 = 35; pub const IPV6_HDRINCL: u32 = 36; @@ -1205,6 +1210,7 @@ pub const M_SQRT2: f64 = 1.4142135623730951; pub const M_SQRT1_2: f64 = 0.7071067811865476; pub const _SETJMP_H: u32 = 1; pub const _BITS_SETJMP_H: u32 = 1; +pub const __jmp_buf_tag_defined: u32 = 1; pub const DEBUG5: u32 = 10; pub const DEBUG4: u32 = 11; pub const DEBUG3: u32 = 12; @@ -1360,10 +1366,7 @@ pub const AT_REMOVEDIR: u32 = 512; pub const AT_SYMLINK_FOLLOW: u32 = 1024; pub const AT_EACCESS: u32 = 512; pub const _BITS_STAT_H: u32 = 1; -pub const _STAT_VER_KERNEL: u32 = 0; -pub const _STAT_VER_LINUX: u32 = 1; -pub const _MKNOD_VER_LINUX: u32 = 0; -pub const _STAT_VER: u32 = 1; +pub const _BITS_STRUCT_STAT_H: u32 = 1; pub const __S_IFMT: u32 = 61440; pub const __S_IFDIR: u32 = 16384; pub const __S_IFCHR: u32 = 8192; @@ -2050,7 +2053,6 @@ pub const EXEC_FLAG_BACKWARD: u32 = 4; pub const EXEC_FLAG_MARK: u32 = 8; pub const EXEC_FLAG_SKIP_TRIGGERS: u32 = 16; pub const EXEC_FLAG_WITH_NO_DATA: u32 = 32; -pub const _BITS_SIGNUM_H: u32 = 1; pub const _BITS_SIGNUM_GENERIC_H: u32 = 1; pub const SIGINT: u32 = 2; pub const SIGILL: u32 = 4; @@ -2062,33 +2064,34 @@ pub const SIGHUP: u32 = 1; pub const SIGQUIT: u32 = 3; pub const SIGTRAP: u32 = 5; pub const SIGKILL: u32 = 9; -pub const SIGBUS: u32 = 10; -pub const SIGSYS: u32 = 12; pub const SIGPIPE: u32 = 13; pub const SIGALRM: u32 = 14; -pub const SIGURG: u32 = 16; -pub const SIGSTOP: u32 = 17; -pub const SIGTSTP: u32 = 18; -pub const SIGCONT: u32 = 19; -pub const SIGCHLD: u32 = 20; +pub const SIGIOT: u32 = 6; +pub const _BITS_SIGNUM_ARCH_H: u32 = 1; +pub const SIGSTKFLT: u32 = 16; +pub const SIGPWR: u32 = 30; +pub const SIGBUS: u32 = 7; +pub const SIGSYS: u32 = 31; +pub const SIGURG: u32 = 23; +pub const SIGSTOP: u32 = 19; +pub const SIGTSTP: u32 = 20; +pub const SIGCONT: u32 = 18; +pub const SIGCHLD: u32 = 17; pub const SIGTTIN: u32 = 21; pub const SIGTTOU: u32 = 22; -pub const SIGPOLL: u32 = 23; -pub const SIGXCPU: u32 = 24; +pub const SIGPOLL: u32 = 29; pub const SIGXFSZ: u32 = 25; +pub const SIGXCPU: u32 = 24; pub const SIGVTALRM: u32 = 26; pub const SIGPROF: u32 = 27; -pub const SIGUSR1: u32 = 30; -pub const SIGUSR2: u32 = 31; +pub const SIGUSR1: u32 = 10; +pub const SIGUSR2: u32 = 12; pub const SIGWINCH: u32 = 28; -pub const SIGIO: u32 = 23; -pub const SIGIOT: u32 = 6; -pub const SIGCLD: u32 = 20; +pub const SIGIO: u32 = 29; +pub const SIGCLD: u32 = 17; pub const __SIGRTMIN: u32 = 32; -pub const __SIGRTMAX: u32 = 32; -pub const _NSIG: u32 = 33; -pub const SIGSTKFLT: u32 = 16; -pub const SIGPWR: u32 = 30; +pub const __SIGRTMAX: u32 = 64; +pub const _NSIG: u32 = 65; pub const __sig_atomic_t_defined: u32 = 1; pub const __siginfo_t_defined: u32 = 1; pub const __SI_MAX_SIZE: u32 = 128; @@ -2100,7 +2103,7 @@ pub const __SI_ASYNCIO_AFTER_SIGIO: u32 = 1; pub const __sigevent_t_defined: u32 = 1; pub const __SIGEV_MAX_SIZE: u32 = 64; pub const _BITS_SIGEVENT_CONSTS_H: u32 = 1; -pub const NSIG: u32 = 33; +pub const NSIG: u32 = 65; pub const _BITS_SIGACTION_H: u32 = 1; pub const SA_NOCLDSTOP: u32 = 1; pub const SA_NOCLDWAIT: u32 = 2; @@ -3124,6 +3127,7 @@ pub type __id_t = ::std::os::raw::c_uint; pub type __time_t = ::std::os::raw::c_long; pub type __useconds_t = ::std::os::raw::c_uint; pub type __suseconds_t = ::std::os::raw::c_long; +pub type __suseconds64_t = ::std::os::raw::c_long; pub type __daddr_t = ::std::os::raw::c_int; pub type __key_t = ::std::os::raw::c_int; pub type __clockid_t = ::std::os::raw::c_int; @@ -3301,12 +3305,16 @@ extern "C" { ) -> ::std::os::raw::c_int; } #[pg_guard] +extern "C" { + pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; +} +#[pg_guard] extern "C" { pub fn tmpfile() -> *mut FILE; } #[pg_guard] extern "C" { - pub fn tmpnam(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; + pub fn tmpnam(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } #[pg_guard] extern "C" { @@ -3320,10 +3328,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_char; } #[pg_guard] -extern "C" { - pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int; } @@ -3484,6 +3488,10 @@ extern "C" { ... ) -> ::std::os::raw::c_int; } +pub type _Float32 = f32; +pub type _Float64 = f64; +pub type _Float32x = f64; +pub type _Float64x = u128; #[pg_guard] extern "C" { #[link_name = "\u{1}__isoc99_fscanf"] @@ -3761,19 +3769,15 @@ extern "C" { } #[pg_guard] extern "C" { - pub static mut sys_nerr: ::std::os::raw::c_int; -} -#[pg_guard] -extern "C" { - pub static mut sys_errlist: [*const ::std::os::raw::c_char; 0usize]; + pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { - pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int; + pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; } #[pg_guard] extern "C" { @@ -3783,10 +3787,6 @@ extern "C" { ) -> *mut FILE; } #[pg_guard] -extern "C" { - pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int; -} -#[pg_guard] extern "C" { pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char; } @@ -3811,14 +3811,6 @@ extern "C" { pub fn __overflow(arg1: *mut FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int; } pub type wchar_t = ::std::os::raw::c_int; -pub const idtype_t_P_ALL: idtype_t = 0; -pub const idtype_t_P_PID: idtype_t = 1; -pub const idtype_t_P_PGID: idtype_t = 2; -pub type idtype_t = ::std::os::raw::c_uint; -pub type _Float32 = f32; -pub type _Float64 = f64; -pub type _Float32x = f64; -pub type _Float64x = u128; #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct div_t { @@ -4146,6 +4138,13 @@ impl Default for __pthread_cond_s { } } } +pub type __tss_t = ::std::os::raw::c_uint; +pub type __thrd_t = ::std::os::raw::c_ulong; +#[repr(C)] +#[derive(Debug, Default, Copy, Clone)] +pub struct __once_flag { + pub __data: ::std::os::raw::c_int, +} pub type pthread_t = ::std::os::raw::c_ulong; #[repr(C)] #[derive(Copy, Clone)] @@ -4494,6 +4493,10 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] +extern "C" { + pub fn free(__ptr: *mut ::std::os::raw::c_void); +} +#[pg_guard] extern "C" { pub fn reallocarray( __ptr: *mut ::std::os::raw::c_void, @@ -4502,10 +4505,6 @@ extern "C" { ) -> *mut ::std::os::raw::c_void; } #[pg_guard] -extern "C" { - pub fn free(__ptr: *mut ::std::os::raw::c_void); -} -#[pg_guard] extern "C" { pub fn alloca(__size: ::std::os::raw::c_ulong) -> *mut ::std::os::raw::c_void; } @@ -4523,7 +4522,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" { @@ -5694,6 +5696,7 @@ pub struct __kernel_fsid_t { } pub type __kernel_off_t = __kernel_long_t; pub type __kernel_loff_t = ::std::os::raw::c_longlong; +pub type __kernel_old_time_t = __kernel_long_t; pub type __kernel_time_t = __kernel_long_t; pub type __kernel_time64_t = ::std::os::raw::c_longlong; pub type __kernel_clock_t = __kernel_long_t; @@ -5933,8 +5936,10 @@ pub const IPPROTO_COMP: ::std::os::raw::c_uint = 108; pub const IPPROTO_SCTP: ::std::os::raw::c_uint = 132; pub const IPPROTO_UDPLITE: ::std::os::raw::c_uint = 136; pub const IPPROTO_MPLS: ::std::os::raw::c_uint = 137; +pub const IPPROTO_ETHERNET: ::std::os::raw::c_uint = 143; pub const IPPROTO_RAW: ::std::os::raw::c_uint = 255; -pub const IPPROTO_MAX: ::std::os::raw::c_uint = 256; +pub const IPPROTO_MPTCP: ::std::os::raw::c_uint = 262; +pub const IPPROTO_MAX: ::std::os::raw::c_uint = 263; pub type _bindgen_ty_5 = ::std::os::raw::c_uint; pub const IPPROTO_HOPOPTS: ::std::os::raw::c_uint = 0; pub const IPPROTO_ROUTING: ::std::os::raw::c_uint = 43; @@ -25219,6 +25224,8 @@ pub const SEGV_PKUERR: ::std::os::raw::c_uint = 4; pub const SEGV_ACCADI: ::std::os::raw::c_uint = 5; pub const SEGV_ADIDERR: ::std::os::raw::c_uint = 6; pub const SEGV_ADIPERR: ::std::os::raw::c_uint = 7; +pub const SEGV_MTEAERR: ::std::os::raw::c_uint = 8; +pub const SEGV_MTESERR: ::std::os::raw::c_uint = 9; pub type _bindgen_ty_13 = ::std::os::raw::c_uint; pub const BUS_ADRALN: ::std::os::raw::c_uint = 1; pub const BUS_ADRERR: ::std::os::raw::c_uint = 2; @@ -25460,14 +25467,6 @@ extern "C" { __val: sigval, ) -> ::std::os::raw::c_int; } -#[pg_guard] -extern "C" { - pub static _sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} -#[pg_guard] -extern "C" { - pub static sys_siglist: [*const ::std::os::raw::c_char; 65usize]; -} #[repr(C)] #[derive(Debug, Default, Copy, Clone)] pub struct _fpx_sw_bytes { diff --git a/pgx-tests/Cargo.toml b/pgx-tests/Cargo.toml index d670e10ac..c4fcd36a4 100644 --- a/pgx-tests/Cargo.toml +++ b/pgx-tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-tests" -version = "0.4.0-beta.0" +version = "0.4.0" authors = ["ZomboDB, LLC "] license = "MIT" description = "Test framework for 'pgx'-based Postgres extensions" @@ -34,9 +34,9 @@ rustdoc-args = ["--cfg", "docsrs"] owo-colors = "3.2.0" once_cell = "1.9.0" libc = "0.2.119" -pgx = { path = "../pgx", default-features = false, version= "0.4.0-beta.0" } -pgx-macros = { path = "../pgx-macros", version= "0.4.0-beta.0" } -pgx-utils = { path = "../pgx-utils", version= "0.4.0-beta.0" } +pgx = { path = "../pgx", default-features = false, version= "0.4.0" } +pgx-macros = { path = "../pgx-macros", version= "0.4.0" } +pgx-utils = { path = "../pgx-utils", version= "0.4.0" } postgres = "0.19.2" regex = "1.5.4" serde = "1.0.136" diff --git a/pgx-utils/Cargo.toml b/pgx-utils/Cargo.toml index 5d8a8ea2d..87b4bcedf 100644 --- a/pgx-utils/Cargo.toml +++ b/pgx-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx-utils" -version = "0.4.0-beta.0" +version = "0.4.0" authors = ["ZomboDB, LLC "] license = "MIT" description = "Utility functions for 'pgx'" diff --git a/pgx/Cargo.toml b/pgx/Cargo.toml index 218bba0b3..33880d79f 100644 --- a/pgx/Cargo.toml +++ b/pgx/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pgx" -version = "0.4.0-beta.0" +version = "0.4.0" authors = ["ZomboDB, LLC "] license = "MIT" description = "pgx: A Rust framework for creating Postgres extensions" @@ -34,9 +34,9 @@ cstr_core = "0.2.5" enum-primitive-derive = "0.2.2" num-traits = "0.2.14" seahash = "4.1.0" -pgx-macros = { path = "../pgx-macros/", version = "0.4.0-beta.0" } -pgx-pg-sys = { path = "../pgx-pg-sys", version = "0.4.0-beta.0" } -pgx-utils = { path = "../pgx-utils/", version = "0.4.0-beta.0" } +pgx-macros = { path = "../pgx-macros/", version = "0.4.0" } +pgx-pg-sys = { path = "../pgx-pg-sys", version = "0.4.0" } +pgx-utils = { path = "../pgx-utils/", version = "0.4.0" } serde = { version = "1.0.136", features = [ "derive" ] } serde_cbor = "0.11.2" serde_json = "1.0.79"