aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.ru>2022-05-13 11:00:39 +0300
committerrobot-contrib <robot-contrib@yandex-team.ru>2022-05-13 11:00:39 +0300
commit369009a919fa9d7814cc20e4b9690133bf631a7d (patch)
tree35ce3673bb607ac938ed0458a8b09138b19e8d4a
parent91b6031857dda86e99b4862f25809da4cf03f340 (diff)
downloadydb-369009a919fa9d7814cc20e4b9690133bf631a7d.tar.gz
Update contrib/libs/postgresql to 14.3
ref:79a986e7e109dc2f1f9532fa768f17dc80ed97b8
-rw-r--r--contrib/libs/postgresql/INSTALL29
-rw-r--r--contrib/libs/postgresql/src/include/pg_config-linux.h20
-rw-r--r--contrib/libs/postgresql/src/include/pg_config-osx.h3
-rw-r--r--contrib/libs/postgresql/src/include/pg_config-win.h3
4 files changed, 29 insertions, 26 deletions
diff --git a/contrib/libs/postgresql/INSTALL b/contrib/libs/postgresql/INSTALL
index 2072657e1e..3230fe7715 100644
--- a/contrib/libs/postgresql/INSTALL
+++ b/contrib/libs/postgresql/INSTALL
@@ -1,4 +1,3 @@
-
PostgreSQL Installation from Source Code
------------------------------------------------------------------------
@@ -12,7 +11,6 @@ with Microsoft's Visual C++, see the main documentation instead.
------------------------------------------------------------------------
-
Short Version
./configure
@@ -32,7 +30,6 @@ The long version is the rest of this document.
------------------------------------------------------------------------
-
Requirements
In general, a modern Unix-compatible platform should be able to run
@@ -167,10 +164,9 @@ the "df" command to check free disk space.
------------------------------------------------------------------------
-
Installation Procedure
-1. CONFIGURATION
+1. Configuration
The first step of the installation procedure is to configure the
source tree for your system and choose the options you would like.
@@ -209,7 +205,7 @@ Installation Procedure
described in the section called "configure Environment Variables".
These provide additional ways to customize the configuration.
-2. BUILD
+2. Build
To start the build, type either of:
@@ -241,7 +237,7 @@ Installation Procedure
Failure to do that can lead to strange error messages, typically
about missing header files.
-3. REGRESSION TESTS
+3. Regression Tests
If you want to test the newly built server before you install it,
you can run the regression tests at this point. The regression tests
@@ -255,9 +251,9 @@ Installation Procedure
information about interpreting the test results. You can repeat this
test at any later time by issuing the same command.
-4. INSTALLING THE FILES
+4. Installing the Files
- NOTE:
+ Note:
If you are upgrading an existing system be sure to read the
documentation, which has instructions about upgrading a cluster.
@@ -301,7 +297,7 @@ Installation Procedure
client application development as well as for server-side program
development, such as custom functions or data types written in C.
- CLIENT-ONLY INSTALLATION: If you want to install only the client
+ Client-only installation: If you want to install only the client
applications and interface libraries, then you can use these
commands:
@@ -313,10 +309,10 @@ Installation Procedure
"src/bin" has a few binaries for server-only use, but they are
small.
-UNINSTALLATION: To undo the installation use the command "make
+Uninstallation: To undo the installation use the command "make
uninstall". However, this will not remove any created directories.
-CLEANING: After the installation you can free disk space by removing
+Cleaning: After the installation you can free disk space by removing
the built files from the source tree with the command "make clean". This
will preserve the files made by the "configure" program, so that you can
rebuild everything with "make" later on. To reset the source tree to the
@@ -426,7 +422,7 @@ restriction.) For relocatable installs, you might want to use the
The HTML-formatted documentation for PostgreSQL will be installed
under this directory. The default is "DATAROOTDIR".
-NOTE:
+Note:
Care has been taken to make it possible to install PostgreSQL into
shared installation locations (such as "/usr/local/include") without
@@ -1028,7 +1024,7 @@ or
export COPT='-Werror'
make
-NOTE:
+Note:
If using GCC, it is best to build with an optimization level of at least
"-O1", because using no optimization ("-O0") disables some important
@@ -1046,7 +1042,6 @@ one-time flag adjustments, while COPT might be kept set all the time.
------------------------------------------------------------------------
-
Post-Installation Setup
------------------------------------------------------------------------
@@ -1140,7 +1135,6 @@ communicated via command line options to most client programs.
------------------------------------------------------------------------
-
Getting Started
The following is a quick summary of how to get PostgreSQL up and running
@@ -1196,7 +1190,6 @@ once installed. The main documentation contains more information.
------------------------------------------------------------------------
-
What Now?
- The PostgreSQL distribution contains a comprehensive documentation
@@ -1231,7 +1224,6 @@ What Now?
------------------------------------------------------------------------
-
Supported Platforms
A platform (that is, a CPU architecture and operating system
@@ -1270,7 +1262,6 @@ the appropriate place to discuss that.
------------------------------------------------------------------------
-
Platform-Specific Notes
This section documents additional platform-specific issues regarding the
diff --git a/contrib/libs/postgresql/src/include/pg_config-linux.h b/contrib/libs/postgresql/src/include/pg_config-linux.h
index a1079a8308..f368264a8d 100644
--- a/contrib/libs/postgresql/src/include/pg_config-linux.h
+++ b/contrib/libs/postgresql/src/include/pg_config-linux.h
@@ -44,7 +44,7 @@
#define BLCKSZ 8192
/* Saved arguments from configure */
-#define CONFIGURE_ARGS " '--prefix=/var/empty/postgresql-14.2' '--with-openssl' '--with-libxml' '--sysconfdir=/etc' '--libdir=$(lib)/lib' '--with-system-tzdata=/var/empty/tzdata-2021c/share/zoneinfo' '--enable-debug' '--with-systemd' '--with-ossp-uuid' '--with-icu' '--with-lz4' '--with-gssapi' '--without-gssapi' '--without-systemd' 'CC=cc' 'CXX=g++' 'PKG_CONFIG=pkg-config' 'PKG_CONFIG_PATH=/var/empty/zlib-1.2.11-dev/lib/pkgconfig:/var/empty/ncurses-6.2-dev/lib/pkgconfig:/var/empty/openssl-1.1.1l-dev/lib/pkgconfig:/var/empty/libxml2-2.9.12-dev/lib/pkgconfig:/var/empty/icu4c-70.1-dev/lib/pkgconfig:/var/empty/lz4-1.9.3-dev/lib/pkgconfig:/var/empty/systemd-249.5-dev/lib/pkgconfig:/var/empty/systemd-249.5-dev/share/pkgconfig:/var/empty/libkrb5-1.18-dev/lib/pkgconfig:/var/empty/libossp-uuid-1.6.2/lib/pkgconfig'"
+#define CONFIGURE_ARGS " '--prefix=/var/empty/postgresql-14.3' '--with-openssl' '--with-libxml' '--sysconfdir=/etc' '--libdir=$(lib)/lib' '--with-system-tzdata=/var/empty/tzdata-2021c/share/zoneinfo' '--enable-debug' '--with-systemd' '--with-ossp-uuid' '--with-icu' '--with-lz4' '--with-gssapi' '--without-gssapi' '--without-systemd' 'CC=cc' 'CXX=g++' 'PKG_CONFIG=pkg-config' 'PKG_CONFIG_PATH=/var/empty/zlib-1.2.11-dev/lib/pkgconfig:/var/empty/ncurses-6.2-dev/lib/pkgconfig:/var/empty/openssl-1.1.1l-dev/lib/pkgconfig:/var/empty/libxml2-2.9.12-dev/lib/pkgconfig:/var/empty/icu4c-70.1-dev/lib/pkgconfig:/var/empty/lz4-1.9.3-dev/lib/pkgconfig:/var/empty/systemd-249.5-dev/lib/pkgconfig:/var/empty/systemd-249.5-dev/share/pkgconfig:/var/empty/libkrb5-1.18-dev/lib/pkgconfig:/var/empty/libossp-uuid-1.6.2/lib/pkgconfig'"
/* Define to the default TCP port number on which the server listens and to
which clients will try to connect. This can be overridden at run-time, but
@@ -641,6 +641,9 @@
/* Define to 1 if you have the <sys/shm.h> header file. */
#define HAVE_SYS_SHM_H 1
+/* Define to 1 if you have the <sys/signalfd.h> header file. */
+#define HAVE_SYS_SIGNALFD_H 1
+
/* Define to 1 if you have the <sys/sockio.h> header file. */
/* #undef HAVE_SYS_SOCKIO_H */
@@ -743,6 +746,9 @@
/* Define to 1 if your compiler understands __builtin_ctz. */
#define HAVE__BUILTIN_CTZ 1
+/* Define to 1 if your compiler understands __builtin_frame_address. */
+#define HAVE__BUILTIN_FRAME_ADDRESS 1
+
/* Define to 1 if your compiler understands __builtin_$op_overflow. */
#define HAVE__BUILTIN_OP_OVERFLOW 1
@@ -796,7 +802,7 @@
#define PACKAGE_NAME "PostgreSQL"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "PostgreSQL 14.2"
+#define PACKAGE_STRING "PostgreSQL 14.3"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "postgresql"
@@ -805,7 +811,7 @@
#define PACKAGE_URL "https://www.postgresql.org/"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "14.2"
+#define PACKAGE_VERSION "14.3"
/* Define to the name of a signed 128-bit integer type. */
#define PG_INT128_TYPE __int128
@@ -824,7 +830,7 @@
#define PG_MAJORVERSION_NUM 14
/* PostgreSQL minor version number */
-#define PG_MINORVERSION_NUM 2
+#define PG_MINORVERSION_NUM 3
/* Define to best printf format archetype, usually gnu_printf if available. */
#define PG_PRINTF_ATTRIBUTE gnu_printf
@@ -833,13 +839,13 @@
#define PG_USE_STDBOOL 1
/* PostgreSQL version as a string */
-#define PG_VERSION "14.2"
+#define PG_VERSION "14.3"
/* PostgreSQL version as a number */
-#define PG_VERSION_NUM 140002
+#define PG_VERSION_NUM 140003
/* A string containing the version number, platform, and C compiler */
-#define PG_VERSION_STR "PostgreSQL 14.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 10.3.0, 64-bit"
+#define PG_VERSION_STR "PostgreSQL 14.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 10.3.0, 64-bit"
/* Define to 1 to allow profiling output to be saved separately for each
process. */
diff --git a/contrib/libs/postgresql/src/include/pg_config-osx.h b/contrib/libs/postgresql/src/include/pg_config-osx.h
index f2b6e1dfcc..d1cc3ffce5 100644
--- a/contrib/libs/postgresql/src/include/pg_config-osx.h
+++ b/contrib/libs/postgresql/src/include/pg_config-osx.h
@@ -18,6 +18,9 @@
/* Define to 1 if you have the <sys/prctl.h> header file. */
#undef HAVE_SYS_PRCTL_H
+/* Define to 1 if you have the <sys/signalfd.h> header file. */
+#undef HAVE_SYS_SIGNALFD_H
+
/* Define to 1 if you have the `sync_file_range' function. */
#undef HAVE_SYNC_FILE_RANGE
diff --git a/contrib/libs/postgresql/src/include/pg_config-win.h b/contrib/libs/postgresql/src/include/pg_config-win.h
index bbace3fbc2..10c0df78a2 100644
--- a/contrib/libs/postgresql/src/include/pg_config-win.h
+++ b/contrib/libs/postgresql/src/include/pg_config-win.h
@@ -17,6 +17,9 @@
/* Define to 1 if you have the <sys/select.h> header file. */
#undef HAVE_SYS_SELECT_H
+/* Define to 1 if you have the <sys/signalfd.h> header file. */
+#undef HAVE_SYS_SIGNALFD_H
+
/* Define to 1 if you have the <sys/prctl.h> header file. */
#undef HAVE_SYS_PRCTL_H