Skip to content

Commit 8c5d5f8

Browse files
committed
Merge branch 'REL_16_STABLE' into REL_16_STABLE_neon_16_10
2 parents cdd4701 + c13dd7d commit 8c5d5f8

File tree

201 files changed

+10387
-5634
lines changed

Some content is hidden

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

201 files changed

+10387
-5634
lines changed

.cirrus.tasks.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,14 +773,11 @@ task:
773773
# - Don't use ccache, the files are uncacheable, polluting ccache's
774774
# cache
775775
# - Use -fmax-errors, as particularly cpluspluscheck can be very verbose
776-
# - XXX have to disable ICU to avoid errors:
777-
# https://postgr.es/m/20220323002024.f2g6tivduzrktgfa%40alap3.anarazel.de
778776
###
779777
always:
780778
headers_headerscheck_script: |
781779
time ./configure \
782780
${LINUX_CONFIGURE_FEATURES} \
783-
--without-icu \
784781
--quiet \
785782
CC="gcc" CXX"=g++" CLANG="clang"
786783
make -s -j${BUILD_JOBS} clean

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: 40 additions & 26 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 16.9.
3+
# Generated by GNU Autoconf 2.69 for PostgreSQL 16.10.
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='16.9'
586-
PACKAGE_STRING='PostgreSQL 16.9'
585+
PACKAGE_VERSION='16.10'
586+
PACKAGE_STRING='PostgreSQL 16.10'
587587
PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org'
588588
PACKAGE_URL='https://www.postgresql.org/'
589589

@@ -1450,7 +1450,7 @@ if test "$ac_init_help" = "long"; then
14501450
# Omit some internal or obsolete options to make the list less imposing.
14511451
# This message is too long to be a string in the A/UX 3.1 sh.
14521452
cat <<_ACEOF
1453-
\`configure' configures PostgreSQL 16.9 to adapt to many kinds of systems.
1453+
\`configure' configures PostgreSQL 16.10 to adapt to many kinds of systems.
14541454

14551455
Usage: $0 [OPTION]... [VAR=VALUE]...
14561456

@@ -1515,7 +1515,7 @@ fi
15151515

15161516
if test -n "$ac_init_help"; then
15171517
case $ac_init_help in
1518-
short | recursive ) echo "Configuration of PostgreSQL 16.9:";;
1518+
short | recursive ) echo "Configuration of PostgreSQL 16.10:";;
15191519
esac
15201520
cat <<\_ACEOF
15211521

@@ -1691,7 +1691,7 @@ fi
16911691
test -n "$ac_init_help" && exit $ac_status
16921692
if $ac_init_version; then
16931693
cat <<\_ACEOF
1694-
PostgreSQL configure 16.9
1694+
PostgreSQL configure 16.10
16951695
generated by GNU Autoconf 2.69
16961696

16971697
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2444,7 +2444,7 @@ cat >config.log <<_ACEOF
24442444
This file contains any messages produced by compilers while
24452445
running configure, to aid debugging if configure makes a mistake.
24462446

2447-
It was created by PostgreSQL $as_me 16.9, which was
2447+
It was created by PostgreSQL $as_me 16.10, which was
24482448
generated by GNU Autoconf 2.69. Invocation command line was
24492449

24502450
$ $0 $@
@@ -5210,7 +5210,7 @@ fi
52105210

52115211
for pgac_option in `$LLVM_CONFIG --ldflags`; do
52125212
case $pgac_option in
5213-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
5213+
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
52145214
esac
52155215
done
52165216

@@ -9368,12 +9368,12 @@ fi
93689368
# Note the user could also set XML2_CFLAGS/XML2_LIBS directly
93699369
for pgac_option in $XML2_CFLAGS; do
93709370
case $pgac_option in
9371-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9371+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
93729372
esac
93739373
done
93749374
for pgac_option in $XML2_LIBS; do
93759375
case $pgac_option in
9376-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9376+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
93779377
esac
93789378
done
93799379
fi
@@ -9598,12 +9598,12 @@ fi
95989598
# note that -llz4 will be added by AC_CHECK_LIB below.
95999599
for pgac_option in $LZ4_CFLAGS; do
96009600
case $pgac_option in
9601-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9601+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
96029602
esac
96039603
done
96049604
for pgac_option in $LZ4_LIBS; do
96059605
case $pgac_option in
9606-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9606+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
96079607
esac
96089608
done
96099609
fi
@@ -9739,12 +9739,12 @@ fi
97399739
# note that -lzstd will be added by AC_CHECK_LIB below.
97409740
for pgac_option in $ZSTD_CFLAGS; do
97419741
case $pgac_option in
9742-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9742+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
97439743
esac
97449744
done
97459745
for pgac_option in $ZSTD_LIBS; do
97469746
case $pgac_option in
9747-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9747+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
97489748
esac
97499749
done
97509750
fi
@@ -15801,7 +15801,7 @@ fi
1580115801
LIBS_including_readline="$LIBS"
1580215802
LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
1580315803

15804-
for ac_func in backtrace_symbols copyfile getifaddrs getpeerucred inet_pton kqueue mbstowcs_l memset_s posix_fallocate ppoll pthread_is_threaded_np setproctitle setproctitle_fast strsignal syncfs sync_file_range uselocale wcstombs_l
15804+
for ac_func in backtrace_symbols copyfile getifaddrs getpeerucred inet_pton kqueue mbstowcs_l posix_fallocate ppoll pthread_is_threaded_np setproctitle setproctitle_fast strsignal syncfs sync_file_range uselocale wcstombs_l
1580515805
do :
1580615806
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1580715807
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -16377,6 +16377,19 @@ cat >>confdefs.h <<_ACEOF
1637716377
#define HAVE_DECL_STRCHRNUL $ac_have_decl
1637816378
_ACEOF
1637916379

16380+
ac_fn_c_check_decl "$LINENO" "memset_s" "ac_cv_have_decl_memset_s" "#define __STDC_WANT_LIB_EXT1__ 1
16381+
#include <string.h>
16382+
"
16383+
if test "x$ac_cv_have_decl_memset_s" = xyes; then :
16384+
ac_have_decl=1
16385+
else
16386+
ac_have_decl=0
16387+
fi
16388+
16389+
cat >>confdefs.h <<_ACEOF
16390+
#define HAVE_DECL_MEMSET_S $ac_have_decl
16391+
_ACEOF
16392+
1638016393

1638116394
# This is probably only present on macOS, but may as well check always
1638216395
ac_fn_c_check_decl "$LINENO" "F_FULLFSYNC" "ac_cv_have_decl_F_FULLFSYNC" "#include <fcntl.h>
@@ -16794,7 +16807,7 @@ fi
1679416807

1679516808
if test "$with_icu" = yes; then
1679616809
ac_save_CPPFLAGS=$CPPFLAGS
16797-
CPPFLAGS="$ICU_CFLAGS $CPPFLAGS"
16810+
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"
1679816811

1679916812
# Verify we have ICU's header files
1680016813
ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucol.h" "ac_cv_header_unicode_ucol_h" "$ac_includes_default"
@@ -17970,7 +17983,7 @@ $as_echo "#define HAVE_GCC__ATOMIC_INT64_CAS 1" >>confdefs.h
1797017983
fi
1797117984

1797217985

17973-
# Check for x86 cpuid instruction
17986+
# Check for __get_cpuid() and __cpuid()
1797417987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid" >&5
1797517988
$as_echo_n "checking for __get_cpuid... " >&6; }
1797617989
if ${pgac_cv__get_cpuid+:} false; then :
@@ -18003,9 +18016,9 @@ if test x"$pgac_cv__get_cpuid" = x"yes"; then
1800318016

1800418017
$as_echo "#define HAVE__GET_CPUID 1" >>confdefs.h
1800518018

18006-
fi
18007-
18008-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
18019+
else
18020+
# __cpuid()
18021+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
1800918022
$as_echo_n "checking for __cpuid... " >&6; }
1801018023
if ${pgac_cv__cpuid+:} false; then :
1801118024
$as_echo_n "(cached) " >&6
@@ -18017,7 +18030,7 @@ int
1801718030
main ()
1801818031
{
1801918032
unsigned int exx[4] = {0, 0, 0, 0};
18020-
__get_cpuid(exx[0], 1);
18033+
__cpuid(exx, 1);
1802118034

1802218035
;
1802318036
return 0;
@@ -18033,10 +18046,11 @@ rm -f core conftest.err conftest.$ac_objext \
1803318046
fi
1803418047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
1803518048
$as_echo "$pgac_cv__cpuid" >&6; }
18036-
if test x"$pgac_cv__cpuid" = x"yes"; then
18049+
if test x"$pgac_cv__cpuid" = x"yes"; then
1803718050

1803818051
$as_echo "#define HAVE__CPUID 1" >>confdefs.h
1803918052

18053+
fi
1804018054
fi
1804118055

1804218056
# Check for Intel SSE 4.2 intrinsics to do CRC calculations.
@@ -18949,7 +18963,7 @@ Use --without-tcl to disable building PL/Tcl." "$LINENO" 5
1894918963
fi
1895018964
# now that we have TCL_INCLUDE_SPEC, we can check for <tcl.h>
1895118965
ac_save_CPPFLAGS=$CPPFLAGS
18952-
CPPFLAGS="$TCL_INCLUDE_SPEC $CPPFLAGS"
18966+
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
1895318967
ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
1895418968
if test "x$ac_cv_header_tcl_h" = xyes; then :
1895518969

@@ -19018,7 +19032,7 @@ fi
1901819032
# check for <Python.h>
1901919033
if test "$with_python" = yes; then
1902019034
ac_save_CPPFLAGS=$CPPFLAGS
19021-
CPPFLAGS="$python_includespec $CPPFLAGS"
19035+
CPPFLAGS="$CPPFLAGS $python_includespec"
1902219036
ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
1902319037
if test "x$ac_cv_header_Python_h" = xyes; then :
1902419038

@@ -20119,7 +20133,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2011920133
# report actual input values of CONFIG_FILES etc. instead of their
2012020134
# values after options handling.
2012120135
ac_log="
20122-
This file was extended by PostgreSQL $as_me 16.9, which was
20136+
This file was extended by PostgreSQL $as_me 16.10, which was
2012320137
generated by GNU Autoconf 2.69. Invocation command line was
2012420138

2012520139
CONFIG_FILES = $CONFIG_FILES
@@ -20190,7 +20204,7 @@ _ACEOF
2019020204
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2019120205
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2019220206
ac_cs_version="\\
20193-
PostgreSQL config.status 16.9
20207+
PostgreSQL config.status 16.10
2019420208
configured by $0, generated by GNU Autoconf 2.69,
2019520209
with options \\"\$ac_cs_config\\"
2019620210

0 commit comments

Comments
 (0)