diff --git a/configure b/configure index b752eeb8095be..4ba45486e7ca2 100755 --- a/configure +++ b/configure @@ -15046,7 +15046,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -15092,7 +15092,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -15116,7 +15116,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -15161,7 +15161,7 @@ else We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -15185,7 +15185,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ -#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) +#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; @@ -19335,7 +19335,7 @@ fi cat >>confdefs.h <<_ACEOF -#define PG_VERSION_STR "Percona Server for PostgreSQL $PG_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit" +#define PG_VERSION_STR "PostgreSQL $PG_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit" _ACEOF diff --git a/configure.ac b/configure.ac index 58796df3b7992..23d5cd31e0150 100644 --- a/configure.ac +++ b/configure.ac @@ -2473,7 +2473,7 @@ else fi AC_DEFINE_UNQUOTED(PG_VERSION_STR, - ["Percona Server for PostgreSQL $PG_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"], + ["PostgreSQL $PG_VERSION on $host, compiled by $cc_string, `expr $ac_cv_sizeof_void_p \* 8`-bit"], [A string containing the version number, platform, and C compiler]) # Supply a numeric version string for use by 3rd party add-ons diff --git a/contrib/pg_tde b/contrib/pg_tde index e0978a8be6c70..e177f8d69e09b 160000 --- a/contrib/pg_tde +++ b/contrib/pg_tde @@ -1 +1 @@ -Subproject commit e0978a8be6c70b2fccc86ca1cb8fc5499dd83a88 +Subproject commit e177f8d69e09ba776ab788fb3d37a6fb0c73254a diff --git a/meson.build b/meson.build index c67a17b7eca77..b4473944e255b 100644 --- a/meson.build +++ b/meson.build @@ -145,7 +145,7 @@ cdata.set_quoted('PACKAGE_VERSION', pg_version) cdata.set_quoted('PACKAGE_STRING', 'PostgreSQL @0@'.format(pg_version)) cdata.set_quoted('PACKAGE_TARNAME', 'postgresql') -pg_version += ' - PostgreSQL ' + pg_version_major.to_string() + '.' + pg_version_minor.to_string() + '.' + pg_percona_ver +pg_version += ' - Percona Server for PostgreSQL ' + pg_version_major.to_string() + '.' + pg_version_minor.to_string() + '.' + pg_percona_ver pg_version += get_option('extra_version') cdata.set_quoted('PG_VERSION', pg_version) cdata.set_quoted('PG_MAJORVERSION', pg_version_major.to_string()) @@ -2777,7 +2777,7 @@ cdata.set_quoted('DLSUFFIX', dlsuffix) # built later than the rest of the version metadata, we need SIZEOF_VOID_P cdata.set_quoted('PG_VERSION_STR', - 'Percona Server for PostgreSQL @0@ on @1@-@2@, compiled by @3@-@4@, @5@-bit'.format( + 'PostgreSQL @0@ on @1@-@2@, compiled by @3@-@4@, @5@-bit'.format( pg_version, host_machine.cpu_family(), host_system, cc.get_id(), cc.version(), cdata.get('SIZEOF_VOID_P') * 8, ) diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index 76181d795c3a5..6e27c970f42f3 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -246,6 +246,9 @@ /* Define to 1 if you have the `crypto' library (-lcrypto). */ #undef HAVE_LIBCRYPTO +/* Define to 1 if you have the `curl' library (-lcurl). */ +#undef HAVE_LIBCURL + /* Define to 1 if you have the `ldap' library (-lldap). */ #undef HAVE_LIBLDAP @@ -630,6 +633,9 @@ /* PostgreSQL minor version number */ #undef PG_MINORVERSION_NUM +/* PostgreSQL Percona version as a string */ +#undef PG_PERCONAVERSION + /* Define to best printf format archetype, usually gnu_printf if available. */ #undef PG_PRINTF_ATTRIBUTE @@ -705,6 +711,9 @@ /* Define to 1 to build with BSD Authentication support. (--with-bsd-auth) */ #undef USE_BSD_AUTH +/* Define to 1 to build with curl support. (--with-curl) */ +#undef USE_CURL + /* Define to build with ICU support. (--with-icu) */ #undef USE_ICU