Skip to content

Commit bccd2ed

Browse files
committed
Merge branch 'REL_17_STABLE' into REL_17_STABLE_neon_17_6
2 parents 04c7d4f + 7885b94 commit bccd2ed

File tree

241 files changed

+13135
-6923
lines changed

Some content is hidden

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

241 files changed

+13135
-6923
lines changed

.cirrus.tasks.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -777,14 +777,11 @@ task:
777777
# - Don't use ccache, the files are uncacheable, polluting ccache's
778778
# cache
779779
# - Use -fmax-errors, as particularly cpluspluscheck can be very verbose
780-
# - XXX have to disable ICU to avoid errors:
781-
# https://postgr.es/m/20220323002024.f2g6tivduzrktgfa%40alap3.anarazel.de
782780
###
783781
always:
784782
headers_headerscheck_script: |
785783
time ./configure \
786784
${LINUX_CONFIGURE_FEATURES} \
787-
--without-icu \
788785
--quiet \
789786
CC="gcc" CXX"=g++" CLANG="clang"
790787
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: 66 additions & 50 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 17.5.
3+
# Generated by GNU Autoconf 2.69 for PostgreSQL 17.6.
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='17.5'
586-
PACKAGE_STRING='PostgreSQL 17.5'
585+
PACKAGE_VERSION='17.6'
586+
PACKAGE_STRING='PostgreSQL 17.6'
587587
PACKAGE_BUGREPORT='pgsql-bugs@lists.postgresql.org'
588588
PACKAGE_URL='https://www.postgresql.org/'
589589

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

14571457
Usage: $0 [OPTION]... [VAR=VALUE]...
14581458

@@ -1517,7 +1517,7 @@ fi
15171517

15181518
if test -n "$ac_init_help"; then
15191519
case $ac_init_help in
1520-
short | recursive ) echo "Configuration of PostgreSQL 17.5:";;
1520+
short | recursive ) echo "Configuration of PostgreSQL 17.6:";;
15211521
esac
15221522
cat <<\_ACEOF
15231523

@@ -1693,7 +1693,7 @@ fi
16931693
test -n "$ac_init_help" && exit $ac_status
16941694
if $ac_init_version; then
16951695
cat <<\_ACEOF
1696-
PostgreSQL configure 17.5
1696+
PostgreSQL configure 17.6
16971697
generated by GNU Autoconf 2.69
16981698

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

2449-
It was created by PostgreSQL $as_me 17.5, which was
2449+
It was created by PostgreSQL $as_me 17.6, which was
24502450
generated by GNU Autoconf 2.69. Invocation command line was
24512451

24522452
$ $0 $@
@@ -5216,7 +5216,7 @@ fi
52165216

52175217
for pgac_option in `$LLVM_CONFIG --ldflags`; do
52185218
case $pgac_option in
5219-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
5219+
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
52205220
esac
52215221
done
52225222

@@ -9056,12 +9056,12 @@ fi
90569056
# Note the user could also set XML2_CFLAGS/XML2_LIBS directly
90579057
for pgac_option in $XML2_CFLAGS; do
90589058
case $pgac_option in
9059-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9059+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
90609060
esac
90619061
done
90629062
for pgac_option in $XML2_LIBS; do
90639063
case $pgac_option in
9064-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9064+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
90659065
esac
90669066
done
90679067
fi
@@ -9286,12 +9286,12 @@ fi
92869286
# note that -llz4 will be added by AC_CHECK_LIB below.
92879287
for pgac_option in $LZ4_CFLAGS; do
92889288
case $pgac_option in
9289-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9289+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
92909290
esac
92919291
done
92929292
for pgac_option in $LZ4_LIBS; do
92939293
case $pgac_option in
9294-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9294+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
92959295
esac
92969296
done
92979297
fi
@@ -9427,12 +9427,12 @@ fi
94279427
# note that -lzstd will be added by AC_CHECK_LIB below.
94289428
for pgac_option in $ZSTD_CFLAGS; do
94299429
case $pgac_option in
9430-
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
9430+
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
94319431
esac
94329432
done
94339433
for pgac_option in $ZSTD_LIBS; do
94349434
case $pgac_option in
9435-
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
9435+
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
94369436
esac
94379437
done
94389438
fi
@@ -15358,7 +15358,7 @@ fi
1535815358
LIBS_including_readline="$LIBS"
1535915359
LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
1536015360

15361-
for ac_func in backtrace_symbols copyfile copy_file_range 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
15361+
for ac_func in backtrace_symbols copyfile copy_file_range 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
1536215362
do :
1536315363
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1536415364
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -15914,6 +15914,19 @@ cat >>confdefs.h <<_ACEOF
1591415914
#define HAVE_DECL_STRCHRNUL $ac_have_decl
1591515915
_ACEOF
1591615916

15917+
ac_fn_c_check_decl "$LINENO" "memset_s" "ac_cv_have_decl_memset_s" "#define __STDC_WANT_LIB_EXT1__ 1
15918+
#include <string.h>
15919+
"
15920+
if test "x$ac_cv_have_decl_memset_s" = xyes; then :
15921+
ac_have_decl=1
15922+
else
15923+
ac_have_decl=0
15924+
fi
15925+
15926+
cat >>confdefs.h <<_ACEOF
15927+
#define HAVE_DECL_MEMSET_S $ac_have_decl
15928+
_ACEOF
15929+
1591715930

1591815931
# This is probably only present on macOS, but may as well check always
1591915932
ac_fn_c_check_decl "$LINENO" "F_FULLFSYNC" "ac_cv_have_decl_F_FULLFSYNC" "#include <fcntl.h>
@@ -16329,7 +16342,7 @@ fi
1632916342

1633016343
if test "$with_icu" = yes; then
1633116344
ac_save_CPPFLAGS=$CPPFLAGS
16332-
CPPFLAGS="$ICU_CFLAGS $CPPFLAGS"
16345+
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"
1633316346

1633416347
# Verify we have ICU's header files
1633516348
ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucol.h" "ac_cv_header_unicode_ucol_h" "$ac_includes_default"
@@ -17480,7 +17493,7 @@ $as_echo "#define HAVE_GCC__ATOMIC_INT64_CAS 1" >>confdefs.h
1748017493
fi
1748117494

1748217495

17483-
# Check for x86 cpuid instruction
17496+
# Check for __get_cpuid() and __cpuid()
1748417497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid" >&5
1748517498
$as_echo_n "checking for __get_cpuid... " >&6; }
1748617499
if ${pgac_cv__get_cpuid+:} false; then :
@@ -17513,77 +17526,79 @@ if test x"$pgac_cv__get_cpuid" = x"yes"; then
1751317526

1751417527
$as_echo "#define HAVE__GET_CPUID 1" >>confdefs.h
1751517528

17516-
fi
17517-
17518-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count" >&5
17519-
$as_echo_n "checking for __get_cpuid_count... " >&6; }
17520-
if ${pgac_cv__get_cpuid_count+:} false; then :
17529+
else
17530+
# __cpuid()
17531+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
17532+
$as_echo_n "checking for __cpuid... " >&6; }
17533+
if ${pgac_cv__cpuid+:} false; then :
1752117534
$as_echo_n "(cached) " >&6
1752217535
else
1752317536
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1752417537
/* end confdefs.h. */
17525-
#include <cpuid.h>
17538+
#include <intrin.h>
1752617539
int
1752717540
main ()
1752817541
{
1752917542
unsigned int exx[4] = {0, 0, 0, 0};
17530-
__get_cpuid_count(7, 0, &exx[0], &exx[1], &exx[2], &exx[3]);
17543+
__cpuid(exx, 1);
1753117544

1753217545
;
1753317546
return 0;
1753417547
}
1753517548
_ACEOF
1753617549
if ac_fn_c_try_link "$LINENO"; then :
17537-
pgac_cv__get_cpuid_count="yes"
17550+
pgac_cv__cpuid="yes"
1753817551
else
17539-
pgac_cv__get_cpuid_count="no"
17552+
pgac_cv__cpuid="no"
1754017553
fi
1754117554
rm -f core conftest.err conftest.$ac_objext \
1754217555
conftest$ac_exeext conftest.$ac_ext
1754317556
fi
17544-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count" >&5
17545-
$as_echo "$pgac_cv__get_cpuid_count" >&6; }
17546-
if test x"$pgac_cv__get_cpuid_count" = x"yes"; then
17557+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
17558+
$as_echo "$pgac_cv__cpuid" >&6; }
17559+
if test x"$pgac_cv__cpuid" = x"yes"; then
1754717560

17548-
$as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h
17561+
$as_echo "#define HAVE__CPUID 1" >>confdefs.h
1754917562

17563+
fi
1755017564
fi
1755117565

17552-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
17553-
$as_echo_n "checking for __cpuid... " >&6; }
17554-
if ${pgac_cv__cpuid+:} false; then :
17566+
# Check for __get_cpuid_count() and __cpuidex() in a similar fashion.
17567+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count" >&5
17568+
$as_echo_n "checking for __get_cpuid_count... " >&6; }
17569+
if ${pgac_cv__get_cpuid_count+:} false; then :
1755517570
$as_echo_n "(cached) " >&6
1755617571
else
1755717572
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755817573
/* end confdefs.h. */
17559-
#include <intrin.h>
17574+
#include <cpuid.h>
1756017575
int
1756117576
main ()
1756217577
{
1756317578
unsigned int exx[4] = {0, 0, 0, 0};
17564-
__get_cpuid(exx[0], 1);
17579+
__get_cpuid_count(7, 0, &exx[0], &exx[1], &exx[2], &exx[3]);
1756517580

1756617581
;
1756717582
return 0;
1756817583
}
1756917584
_ACEOF
1757017585
if ac_fn_c_try_link "$LINENO"; then :
17571-
pgac_cv__cpuid="yes"
17586+
pgac_cv__get_cpuid_count="yes"
1757217587
else
17573-
pgac_cv__cpuid="no"
17588+
pgac_cv__get_cpuid_count="no"
1757417589
fi
1757517590
rm -f core conftest.err conftest.$ac_objext \
1757617591
conftest$ac_exeext conftest.$ac_ext
1757717592
fi
17578-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
17579-
$as_echo "$pgac_cv__cpuid" >&6; }
17580-
if test x"$pgac_cv__cpuid" = x"yes"; then
17581-
17582-
$as_echo "#define HAVE__CPUID 1" >>confdefs.h
17593+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count" >&5
17594+
$as_echo "$pgac_cv__get_cpuid_count" >&6; }
17595+
if test x"$pgac_cv__get_cpuid_count" = x"yes"; then
1758317596

17584-
fi
17597+
$as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h
1758517598

17586-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
17599+
else
17600+
# __cpuidex()
17601+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
1758717602
$as_echo_n "checking for __cpuidex... " >&6; }
1758817603
if ${pgac_cv__cpuidex+:} false; then :
1758917604
$as_echo_n "(cached) " >&6
@@ -17595,7 +17610,7 @@ int
1759517610
main ()
1759617611
{
1759717612
unsigned int exx[4] = {0, 0, 0, 0};
17598-
__get_cpuidex(exx[0], 7, 0);
17613+
__cpuidex(exx, 7, 0);
1759917614

1760017615
;
1760117616
return 0;
@@ -17611,10 +17626,11 @@ rm -f core conftest.err conftest.$ac_objext \
1761117626
fi
1761217627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuidex" >&5
1761317628
$as_echo "$pgac_cv__cpuidex" >&6; }
17614-
if test x"$pgac_cv__cpuidex" = x"yes"; then
17629+
if test x"$pgac_cv__cpuidex" = x"yes"; then
1761517630

1761617631
$as_echo "#define HAVE__CPUIDEX 1" >>confdefs.h
1761717632

17633+
fi
1761817634
fi
1761917635

1762017636
# Check for XSAVE intrinsics
@@ -18766,7 +18782,7 @@ Use --without-tcl to disable building PL/Tcl." "$LINENO" 5
1876618782
fi
1876718783
# now that we have TCL_INCLUDE_SPEC, we can check for <tcl.h>
1876818784
ac_save_CPPFLAGS=$CPPFLAGS
18769-
CPPFLAGS="$TCL_INCLUDE_SPEC $CPPFLAGS"
18785+
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
1877018786
ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
1877118787
if test "x$ac_cv_header_tcl_h" = xyes; then :
1877218788

@@ -18835,7 +18851,7 @@ fi
1883518851
# check for <Python.h>
1883618852
if test "$with_python" = yes; then
1883718853
ac_save_CPPFLAGS=$CPPFLAGS
18838-
CPPFLAGS="$python_includespec $CPPFLAGS"
18854+
CPPFLAGS="$CPPFLAGS $python_includespec"
1883918855
ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
1884018856
if test "x$ac_cv_header_Python_h" = xyes; then :
1884118857

@@ -19936,7 +19952,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1993619952
# report actual input values of CONFIG_FILES etc. instead of their
1993719953
# values after options handling.
1993819954
ac_log="
19939-
This file was extended by PostgreSQL $as_me 17.5, which was
19955+
This file was extended by PostgreSQL $as_me 17.6, which was
1994019956
generated by GNU Autoconf 2.69. Invocation command line was
1994119957

1994219958
CONFIG_FILES = $CONFIG_FILES
@@ -20007,7 +20023,7 @@ _ACEOF
2000720023
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2000820024
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2000920025
ac_cs_version="\\
20010-
PostgreSQL config.status 17.5
20026+
PostgreSQL config.status 17.6
2001120027
configured by $0, generated by GNU Autoconf 2.69,
2001220028
with options \\"\$ac_cs_config\\"
2001320029

0 commit comments

Comments
 (0)