Skip to content

Commit f8f19a4

Browse files
committed
Merge branch 'REL_14_STABLE' into REL_15_STABLE_neon_14_19
2 parents d61583a + 4e9da01 commit f8f19a4

File tree

162 files changed

+10248
-6310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+10248
-6310
lines changed

COPYRIGHT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PostgreSQL Database Management System
2-
(formerly known as Postgres, then as Postgres95)
2+
(also known as Postgres, formerly known as Postgres95)
33

44
Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
55

config/llvm.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# -----------------
55
#
66
# Look for the LLVM installation, check that it's new enough, set the
7-
# corresponding LLVM_{CFLAGS,CXXFLAGS,BINPATH} and LDFLAGS
7+
# corresponding LLVM_{CFLAGS,CXXFLAGS,BINPATH,LIBS}
88
# variables. Also verify that CLANG is available, to transform C
99
# into bitcode.
1010
#
@@ -55,7 +55,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT],
5555
5656
for pgac_option in `$LLVM_CONFIG --ldflags`; do
5757
case $pgac_option in
58-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
58+
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
5959
esac
6060
done
6161

configure

Lines changed: 38 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.69 for PostgreSQL 14.18.
3+
# Generated by GNU Autoconf 2.69 for PostgreSQL 14.19.
44
#
55
# Report bugs to <pgsql-bugs@lists.postgresql.org>.
66
#
@@ -582,8 +582,8 @@ MAKEFLAGS=
582582
# Identity of this package.
583583
PACKAGE_NAME='PostgreSQL'
584584
PACKAGE_TARNAME='postgresql'
585-
PACKAGE_VERSION='14.18'
586-
PACKAGE_STRING='PostgreSQL 14.18'
585+
PACKAGE_VERSION='14.19'
586+
PACKAGE_STRING='PostgreSQL 14.19'
587587
PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org'
588588
PACKAGE_URL='https://www.postgresql.org/'
589589

@@ -1445,7 +1445,7 @@ if test "$ac_init_help" = "long"; then
14451445
# Omit some internal or obsolete options to make the list less imposing.
14461446
# This message is too long to be a string in the A/UX 3.1 sh.
14471447
cat <<_ACEOF
1448-
\`configure' configures PostgreSQL 14.18 to adapt to many kinds of systems.
1448+
\`configure' configures PostgreSQL 14.19 to adapt to many kinds of systems.
14491449

14501450
Usage: $0 [OPTION]... [VAR=VALUE]...
14511451

@@ -1510,7 +1510,7 @@ fi
15101510

15111511
if test -n "$ac_init_help"; then
15121512
case $ac_init_help in
1513-
short | recursive ) echo "Configuration of PostgreSQL 14.18:";;
1513+
short | recursive ) echo "Configuration of PostgreSQL 14.19:";;
15141514
esac
15151515
cat <<\_ACEOF
15161516

@@ -1682,7 +1682,7 @@ fi
16821682
test -n "$ac_init_help" && exit $ac_status
16831683
if $ac_init_version; then
16841684
cat <<\_ACEOF
1685-
PostgreSQL configure 14.18
1685+
PostgreSQL configure 14.19
16861686
generated by GNU Autoconf 2.69
16871687

16881688
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2435,7 +2435,7 @@ cat >config.log <<_ACEOF
24352435
This file contains any messages produced by compilers while
24362436
running configure, to aid debugging if configure makes a mistake.
24372437

2438-
It was created by PostgreSQL $as_me 14.18, which was
2438+
It was created by PostgreSQL $as_me 14.19, which was
24392439
generated by GNU Autoconf 2.69. Invocation command line was
24402440

24412441
$ $0 $@
@@ -5161,7 +5161,7 @@ fi
51615161

51625162
for pgac_option in `$LLVM_CONFIG --ldflags`; do
51635163
case $pgac_option in
5164-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
5164+
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
51655165
esac
51665166
done
51675167

@@ -9227,12 +9227,12 @@ fi
92279227
# Note the user could also set XML2_CFLAGS/XML2_LIBS directly
92289228
for pgac_option in $XML2_CFLAGS; do
92299229
case $pgac_option in
9230-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9230+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
92319231
esac
92329232
done
92339233
for pgac_option in $XML2_LIBS; do
92349234
case $pgac_option in
9235-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9235+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
92369236
esac
92379237
done
92389238
fi
@@ -9457,12 +9457,12 @@ fi
94579457
# note that -llz4 will be added by AC_CHECK_LIB below.
94589458
for pgac_option in $LZ4_CFLAGS; do
94599459
case $pgac_option in
9460-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9460+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
94619461
esac
94629462
done
94639463
for pgac_option in $LZ4_LIBS; do
94649464
case $pgac_option in
9465-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9465+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
94669466
esac
94679467
done
94689468
fi
@@ -16123,7 +16123,7 @@ fi
1612316123
LIBS_including_readline="$LIBS"
1612416124
LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
1612516125

16126-
for ac_func in backtrace_symbols clock_gettime copyfile fdatasync getifaddrs getpeerucred getrlimit kqueue mbstowcs_l memset_s poll posix_fallocate ppoll pstat pthread_is_threaded_np readlink readv setproctitle setproctitle_fast setsid shm_open strsignal symlink syncfs sync_file_range uselocale wcstombs_l writev
16126+
for ac_func in backtrace_symbols clock_gettime copyfile fdatasync getifaddrs getpeerucred getrlimit kqueue mbstowcs_l poll posix_fallocate ppoll pstat pthread_is_threaded_np readlink readv setproctitle setproctitle_fast setsid shm_open strsignal symlink syncfs sync_file_range uselocale wcstombs_l writev
1612716127
do :
1612816128
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1612916129
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -16699,6 +16699,19 @@ cat >>confdefs.h <<_ACEOF
1669916699
#define HAVE_DECL_STRCHRNUL $ac_have_decl
1670016700
_ACEOF
1670116701

16702+
ac_fn_c_check_decl "$LINENO" "memset_s" "ac_cv_have_decl_memset_s" "#define __STDC_WANT_LIB_EXT1__ 1
16703+
#include <string.h>
16704+
"
16705+
if test "x$ac_cv_have_decl_memset_s" = xyes; then :
16706+
ac_have_decl=1
16707+
else
16708+
ac_have_decl=0
16709+
fi
16710+
16711+
cat >>confdefs.h <<_ACEOF
16712+
#define HAVE_DECL_MEMSET_S $ac_have_decl
16713+
_ACEOF
16714+
1670216715

1670316716
# This is probably only present on macOS, but may as well check always
1670416717
ac_fn_c_check_decl "$LINENO" "F_FULLFSYNC" "ac_cv_have_decl_F_FULLFSYNC" "#include <fcntl.h>
@@ -17422,7 +17435,7 @@ _ACEOF
1742217435

1742317436
if test "$with_icu" = yes; then
1742417437
ac_save_CPPFLAGS=$CPPFLAGS
17425-
CPPFLAGS="$ICU_CFLAGS $CPPFLAGS"
17438+
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"
1742617439

1742717440
# Verify we have ICU's header files
1742817441
ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucol.h" "ac_cv_header_unicode_ucol_h" "$ac_includes_default"
@@ -18647,7 +18660,7 @@ $as_echo "#define HAVE_GCC__ATOMIC_INT64_CAS 1" >>confdefs.h
1864718660
fi
1864818661

1864918662

18650-
# Check for x86 cpuid instruction
18663+
# Check for __get_cpuid() and __cpuid()
1865118664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid" >&5
1865218665
$as_echo_n "checking for __get_cpuid... " >&6; }
1865318666
if ${pgac_cv__get_cpuid+:} false; then :
@@ -18680,9 +18693,9 @@ if test x"$pgac_cv__get_cpuid" = x"yes"; then
1868018693

1868118694
$as_echo "#define HAVE__GET_CPUID 1" >>confdefs.h
1868218695

18683-
fi
18684-
18685-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
18696+
else
18697+
# __cpuid()
18698+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
1868618699
$as_echo_n "checking for __cpuid... " >&6; }
1868718700
if ${pgac_cv__cpuid+:} false; then :
1868818701
$as_echo_n "(cached) " >&6
@@ -18694,7 +18707,7 @@ int
1869418707
main ()
1869518708
{
1869618709
unsigned int exx[4] = {0, 0, 0, 0};
18697-
__get_cpuid(exx[0], 1);
18710+
__cpuid(exx, 1);
1869818711

1869918712
;
1870018713
return 0;
@@ -18710,10 +18723,11 @@ rm -f core conftest.err conftest.$ac_objext \
1871018723
fi
1871118724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
1871218725
$as_echo "$pgac_cv__cpuid" >&6; }
18713-
if test x"$pgac_cv__cpuid" = x"yes"; then
18726+
if test x"$pgac_cv__cpuid" = x"yes"; then
1871418727

1871518728
$as_echo "#define HAVE__CPUID 1" >>confdefs.h
1871618729

18730+
fi
1871718731
fi
1871818732

1871918733
# Check for Intel SSE 4.2 intrinsics to do CRC calculations.
@@ -19626,7 +19640,7 @@ Use --without-tcl to disable building PL/Tcl." "$LINENO" 5
1962619640
fi
1962719641
# now that we have TCL_INCLUDE_SPEC, we can check for <tcl.h>
1962819642
ac_save_CPPFLAGS=$CPPFLAGS
19629-
CPPFLAGS="$TCL_INCLUDE_SPEC $CPPFLAGS"
19643+
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
1963019644
ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
1963119645
if test "x$ac_cv_header_tcl_h" = xyes; then :
1963219646

@@ -19695,7 +19709,7 @@ fi
1969519709
# check for <Python.h>
1969619710
if test "$with_python" = yes; then
1969719711
ac_save_CPPFLAGS=$CPPFLAGS
19698-
CPPFLAGS="$python_includespec $CPPFLAGS"
19712+
CPPFLAGS="$CPPFLAGS $python_includespec"
1969919713
ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
1970019714
if test "x$ac_cv_header_Python_h" = xyes; then :
1970119715

@@ -20749,7 +20763,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2074920763
# report actual input values of CONFIG_FILES etc. instead of their
2075020764
# values after options handling.
2075120765
ac_log="
20752-
This file was extended by PostgreSQL $as_me 14.18, which was
20766+
This file was extended by PostgreSQL $as_me 14.19, which was
2075320767
generated by GNU Autoconf 2.69. Invocation command line was
2075420768

2075520769
CONFIG_FILES = $CONFIG_FILES
@@ -20820,7 +20834,7 @@ _ACEOF
2082020834
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2082120835
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2082220836
ac_cs_version="\\
20823-
PostgreSQL config.status 14.18
20837+
PostgreSQL config.status 14.19
2082420838
configured by $0, generated by GNU Autoconf 2.69,
2082520839
with options \\"\$ac_cs_config\\"
2082620840

configure.ac

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dnl Read the Autoconf manual for details.
1717
dnl
1818
m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
1919

20-
AC_INIT([PostgreSQL], [14.18], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/])
20+
AC_INIT([PostgreSQL], [14.19], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/])
2121

2222
m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
2323
Untested combinations of 'autoconf' and PostgreSQL versions are not
@@ -1047,12 +1047,12 @@ if test "$with_libxml" = yes ; then
10471047
# Note the user could also set XML2_CFLAGS/XML2_LIBS directly
10481048
for pgac_option in $XML2_CFLAGS; do
10491049
case $pgac_option in
1050-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
1050+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
10511051
esac
10521052
done
10531053
for pgac_option in $XML2_LIBS; do
10541054
case $pgac_option in
1055-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
1055+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
10561056
esac
10571057
done
10581058
fi
@@ -1096,12 +1096,12 @@ if test "$with_lz4" = yes; then
10961096
# note that -llz4 will be added by AC_CHECK_LIB below.
10971097
for pgac_option in $LZ4_CFLAGS; do
10981098
case $pgac_option in
1099-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
1099+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
11001100
esac
11011101
done
11021102
for pgac_option in $LZ4_LIBS; do
11031103
case $pgac_option in
1104-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
1104+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
11051105
esac
11061106
done
11071107
fi
@@ -1808,7 +1808,6 @@ AC_CHECK_FUNCS(m4_normalize([
18081808
getrlimit
18091809
kqueue
18101810
mbstowcs_l
1811-
memset_s
18121811
poll
18131812
posix_fallocate
18141813
ppoll
@@ -1862,6 +1861,8 @@ AC_CHECK_DECLS([strlcat, strlcpy, strnlen])
18621861
AC_CHECK_DECLS([preadv], [], [AC_LIBOBJ(preadv)], [#include <sys/uio.h>])
18631862
AC_CHECK_DECLS([pwritev], [], [AC_LIBOBJ(pwritev)], [#include <sys/uio.h>])
18641863
AC_CHECK_DECLS([strchrnul], [], [], [#include <string.h>])
1864+
AC_CHECK_DECLS([memset_s], [], [], [#define __STDC_WANT_LIB_EXT1__ 1
1865+
#include <string.h>])
18651866

18661867
# This is probably only present on macOS, but may as well check always
18671868
AC_CHECK_DECLS(F_FULLFSYNC, [], [], [#include <fcntl.h>])
@@ -2028,7 +2029,7 @@ AC_CHECK_DECLS([strtoll, strtoull])
20282029

20292030
if test "$with_icu" = yes; then
20302031
ac_save_CPPFLAGS=$CPPFLAGS
2031-
CPPFLAGS="$ICU_CFLAGS $CPPFLAGS"
2032+
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"
20322033

20332034
# Verify we have ICU's header files
20342035
AC_CHECK_HEADER(unicode/ucol.h, [],
@@ -2154,7 +2155,7 @@ PGAC_HAVE_GCC__ATOMIC_INT32_CAS
21542155
PGAC_HAVE_GCC__ATOMIC_INT64_CAS
21552156

21562157

2157-
# Check for x86 cpuid instruction
2158+
# Check for __get_cpuid() and __cpuid()
21582159
AC_CACHE_CHECK([for __get_cpuid], [pgac_cv__get_cpuid],
21592160
[AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <cpuid.h>],
21602161
[[unsigned int exx[4] = {0, 0, 0, 0};
@@ -2164,17 +2165,18 @@ AC_CACHE_CHECK([for __get_cpuid], [pgac_cv__get_cpuid],
21642165
[pgac_cv__get_cpuid="no"])])
21652166
if test x"$pgac_cv__get_cpuid" = x"yes"; then
21662167
AC_DEFINE(HAVE__GET_CPUID, 1, [Define to 1 if you have __get_cpuid.])
2167-
fi
2168-
2169-
AC_CACHE_CHECK([for __cpuid], [pgac_cv__cpuid],
2170-
[AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <intrin.h>],
2171-
[[unsigned int exx[4] = {0, 0, 0, 0};
2172-
__get_cpuid(exx[0], 1);
2173-
]])],
2174-
[pgac_cv__cpuid="yes"],
2175-
[pgac_cv__cpuid="no"])])
2176-
if test x"$pgac_cv__cpuid" = x"yes"; then
2177-
AC_DEFINE(HAVE__CPUID, 1, [Define to 1 if you have __cpuid.])
2168+
else
2169+
# __cpuid()
2170+
AC_CACHE_CHECK([for __cpuid], [pgac_cv__cpuid],
2171+
[AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <intrin.h>],
2172+
[[unsigned int exx[4] = {0, 0, 0, 0};
2173+
__cpuid(exx, 1);
2174+
]])],
2175+
[pgac_cv__cpuid="yes"],
2176+
[pgac_cv__cpuid="no"])])
2177+
if test x"$pgac_cv__cpuid" = x"yes"; then
2178+
AC_DEFINE(HAVE__CPUID, 1, [Define to 1 if you have __cpuid.])
2179+
fi
21782180
fi
21792181

21802182
# Check for Intel SSE 4.2 intrinsics to do CRC calculations.
@@ -2372,7 +2374,7 @@ Use --without-tcl to disable building PL/Tcl.])
23722374
fi
23732375
# now that we have TCL_INCLUDE_SPEC, we can check for <tcl.h>
23742376
ac_save_CPPFLAGS=$CPPFLAGS
2375-
CPPFLAGS="$TCL_INCLUDE_SPEC $CPPFLAGS"
2377+
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
23762378
AC_CHECK_HEADER(tcl.h, [], [AC_MSG_ERROR([header file <tcl.h> is required for Tcl])])
23772379
CPPFLAGS=$ac_save_CPPFLAGS
23782380
fi
@@ -2409,7 +2411,7 @@ fi
24092411
# check for <Python.h>
24102412
if test "$with_python" = yes; then
24112413
ac_save_CPPFLAGS=$CPPFLAGS
2412-
CPPFLAGS="$python_includespec $CPPFLAGS"
2414+
CPPFLAGS="$CPPFLAGS $python_includespec"
24132415
AC_CHECK_HEADER(Python.h, [], [AC_MSG_ERROR([header file <Python.h> is required for Python])])
24142416
CPPFLAGS=$ac_save_CPPFLAGS
24152417
fi

0 commit comments

Comments
 (0)