Skip to content

Commit 596d5fd

Browse files
authored
Revert "Stamp 17.6 community merges (#617)" (#645)
This reverts commit 0fcc50e.
1 parent 0fcc50e commit 596d5fd

File tree

244 files changed

+6936
-13153
lines changed

Some content is hidden

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

244 files changed

+6936
-13153
lines changed

.cirrus.tasks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,11 +777,14 @@ 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
780782
###
781783
always:
782784
headers_headerscheck_script: |
783785
time ./configure \
784786
${LINUX_CONFIGURE_FEATURES} \
787+
--without-icu \
785788
--quiet \
786789
CC="gcc" CXX"=g++" CLANG="clang"
787790
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-
(also known as Postgres, formerly known as Postgres95)
2+
(formerly known as Postgres, then 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,LIBS}
7+
# corresponding LLVM_{CFLAGS,CXXFLAGS,BINPATH} and LDFLAGS
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*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
58+
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
5959
esac
6060
done
6161

configure

Lines changed: 50 additions & 66 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.6.
3+
# Generated by GNU Autoconf 2.69 for PostgreSQL 17.5.
44
#
55
# Report bugs to <[email protected]>.
66
#
@@ -582,8 +582,8 @@ MAKEFLAGS=
582582
# Identity of this package.
583583
PACKAGE_NAME='PostgreSQL'
584584
PACKAGE_TARNAME='postgresql'
585-
PACKAGE_VERSION='17.6'
586-
PACKAGE_STRING='PostgreSQL 17.6'
585+
PACKAGE_VERSION='17.5'
586+
PACKAGE_STRING='PostgreSQL 17.5'
587587
PACKAGE_BUGREPORT='[email protected]'
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 17.6 to adapt to many kinds of systems.
1453+
\`configure' configures PostgreSQL 17.5 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 17.6:";;
1518+
short | recursive ) echo "Configuration of PostgreSQL 17.5:";;
15191519
esac
15201520
cat <<\_ACEOF
15211521

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

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

2446-
It was created by PostgreSQL $as_me 17.6, which was
2446+
It was created by PostgreSQL $as_me 17.5, which was
24472447
generated by GNU Autoconf 2.69. Invocation command line was
24482448

24492449
$ $0 $@
@@ -5213,7 +5213,7 @@ fi
52135213

52145214
for pgac_option in `$LLVM_CONFIG --ldflags`; do
52155215
case $pgac_option in
5216-
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
5216+
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
52175217
esac
52185218
done
52195219

@@ -9020,12 +9020,12 @@ fi
90209020
# Note the user could also set XML2_CFLAGS/XML2_LIBS directly
90219021
for pgac_option in $XML2_CFLAGS; do
90229022
case $pgac_option in
9023-
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
9023+
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
90249024
esac
90259025
done
90269026
for pgac_option in $XML2_LIBS; do
90279027
case $pgac_option in
9028-
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
9028+
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
90299029
esac
90309030
done
90319031
fi
@@ -9250,12 +9250,12 @@ fi
92509250
# note that -llz4 will be added by AC_CHECK_LIB below.
92519251
for pgac_option in $LZ4_CFLAGS; do
92529252
case $pgac_option in
9253-
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
9253+
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
92549254
esac
92559255
done
92569256
for pgac_option in $LZ4_LIBS; do
92579257
case $pgac_option in
9258-
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
9258+
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
92599259
esac
92609260
done
92619261
fi
@@ -9391,12 +9391,12 @@ fi
93919391
# note that -lzstd will be added by AC_CHECK_LIB below.
93929392
for pgac_option in $ZSTD_CFLAGS; do
93939393
case $pgac_option in
9394-
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
9394+
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
93959395
esac
93969396
done
93979397
for pgac_option in $ZSTD_LIBS; do
93989398
case $pgac_option in
9399-
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
9399+
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
94009400
esac
94019401
done
94029402
fi
@@ -15272,7 +15272,7 @@ fi
1527215272
LIBS_including_readline="$LIBS"
1527315273
LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
1527415274

15275-
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
15275+
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
1527615276
do :
1527715277
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1527815278
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -15828,19 +15828,6 @@ cat >>confdefs.h <<_ACEOF
1582815828
#define HAVE_DECL_STRCHRNUL $ac_have_decl
1582915829
_ACEOF
1583015830

15831-
ac_fn_c_check_decl "$LINENO" "memset_s" "ac_cv_have_decl_memset_s" "#define __STDC_WANT_LIB_EXT1__ 1
15832-
#include <string.h>
15833-
"
15834-
if test "x$ac_cv_have_decl_memset_s" = xyes; then :
15835-
ac_have_decl=1
15836-
else
15837-
ac_have_decl=0
15838-
fi
15839-
15840-
cat >>confdefs.h <<_ACEOF
15841-
#define HAVE_DECL_MEMSET_S $ac_have_decl
15842-
_ACEOF
15843-
1584415831

1584515832
# This is probably only present on macOS, but may as well check always
1584615833
ac_fn_c_check_decl "$LINENO" "F_FULLFSYNC" "ac_cv_have_decl_F_FULLFSYNC" "#include <fcntl.h>
@@ -16256,7 +16243,7 @@ fi
1625616243

1625716244
if test "$with_icu" = yes; then
1625816245
ac_save_CPPFLAGS=$CPPFLAGS
16259-
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"
16246+
CPPFLAGS="$ICU_CFLAGS $CPPFLAGS"
1626016247

1626116248
# Verify we have ICU's header files
1626216249
ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucol.h" "ac_cv_header_unicode_ucol_h" "$ac_includes_default"
@@ -17407,7 +17394,7 @@ $as_echo "#define HAVE_GCC__ATOMIC_INT64_CAS 1" >>confdefs.h
1740717394
fi
1740817395

1740917396

17410-
# Check for __get_cpuid() and __cpuid()
17397+
# Check for x86 cpuid instruction
1741117398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid" >&5
1741217399
$as_echo_n "checking for __get_cpuid... " >&6; }
1741317400
if ${pgac_cv__get_cpuid+:} false; then :
@@ -17440,79 +17427,77 @@ if test x"$pgac_cv__get_cpuid" = x"yes"; then
1744017427

1744117428
$as_echo "#define HAVE__GET_CPUID 1" >>confdefs.h
1744217429

17443-
else
17444-
# __cpuid()
17445-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
17446-
$as_echo_n "checking for __cpuid... " >&6; }
17447-
if ${pgac_cv__cpuid+:} false; then :
17430+
fi
17431+
17432+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count" >&5
17433+
$as_echo_n "checking for __get_cpuid_count... " >&6; }
17434+
if ${pgac_cv__get_cpuid_count+:} false; then :
1744817435
$as_echo_n "(cached) " >&6
1744917436
else
1745017437
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745117438
/* end confdefs.h. */
17452-
#include <intrin.h>
17439+
#include <cpuid.h>
1745317440
int
1745417441
main ()
1745517442
{
1745617443
unsigned int exx[4] = {0, 0, 0, 0};
17457-
__cpuid(exx, 1);
17444+
__get_cpuid_count(7, 0, &exx[0], &exx[1], &exx[2], &exx[3]);
1745817445

1745917446
;
1746017447
return 0;
1746117448
}
1746217449
_ACEOF
1746317450
if ac_fn_c_try_link "$LINENO"; then :
17464-
pgac_cv__cpuid="yes"
17451+
pgac_cv__get_cpuid_count="yes"
1746517452
else
17466-
pgac_cv__cpuid="no"
17453+
pgac_cv__get_cpuid_count="no"
1746717454
fi
1746817455
rm -f core conftest.err conftest.$ac_objext \
1746917456
conftest$ac_exeext conftest.$ac_ext
1747017457
fi
17471-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
17472-
$as_echo "$pgac_cv__cpuid" >&6; }
17473-
if test x"$pgac_cv__cpuid" = x"yes"; then
17458+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count" >&5
17459+
$as_echo "$pgac_cv__get_cpuid_count" >&6; }
17460+
if test x"$pgac_cv__get_cpuid_count" = x"yes"; then
1747417461

17475-
$as_echo "#define HAVE__CPUID 1" >>confdefs.h
17462+
$as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h
1747617463

17477-
fi
1747817464
fi
1747917465

17480-
# Check for __get_cpuid_count() and __cpuidex() in a similar fashion.
17481-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count" >&5
17482-
$as_echo_n "checking for __get_cpuid_count... " >&6; }
17483-
if ${pgac_cv__get_cpuid_count+:} false; then :
17466+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
17467+
$as_echo_n "checking for __cpuid... " >&6; }
17468+
if ${pgac_cv__cpuid+:} false; then :
1748417469
$as_echo_n "(cached) " >&6
1748517470
else
1748617471
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748717472
/* end confdefs.h. */
17488-
#include <cpuid.h>
17473+
#include <intrin.h>
1748917474
int
1749017475
main ()
1749117476
{
1749217477
unsigned int exx[4] = {0, 0, 0, 0};
17493-
__get_cpuid_count(7, 0, &exx[0], &exx[1], &exx[2], &exx[3]);
17478+
__get_cpuid(exx[0], 1);
1749417479

1749517480
;
1749617481
return 0;
1749717482
}
1749817483
_ACEOF
1749917484
if ac_fn_c_try_link "$LINENO"; then :
17500-
pgac_cv__get_cpuid_count="yes"
17485+
pgac_cv__cpuid="yes"
1750117486
else
17502-
pgac_cv__get_cpuid_count="no"
17487+
pgac_cv__cpuid="no"
1750317488
fi
1750417489
rm -f core conftest.err conftest.$ac_objext \
1750517490
conftest$ac_exeext conftest.$ac_ext
1750617491
fi
17507-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count" >&5
17508-
$as_echo "$pgac_cv__get_cpuid_count" >&6; }
17509-
if test x"$pgac_cv__get_cpuid_count" = x"yes"; then
17492+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
17493+
$as_echo "$pgac_cv__cpuid" >&6; }
17494+
if test x"$pgac_cv__cpuid" = x"yes"; then
1751017495

17511-
$as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h
17496+
$as_echo "#define HAVE__CPUID 1" >>confdefs.h
1751217497

17513-
else
17514-
# __cpuidex()
17515-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
17498+
fi
17499+
17500+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
1751617501
$as_echo_n "checking for __cpuidex... " >&6; }
1751717502
if ${pgac_cv__cpuidex+:} false; then :
1751817503
$as_echo_n "(cached) " >&6
@@ -17524,7 +17509,7 @@ int
1752417509
main ()
1752517510
{
1752617511
unsigned int exx[4] = {0, 0, 0, 0};
17527-
__cpuidex(exx, 7, 0);
17512+
__get_cpuidex(exx[0], 7, 0);
1752817513

1752917514
;
1753017515
return 0;
@@ -17540,11 +17525,10 @@ rm -f core conftest.err conftest.$ac_objext \
1754017525
fi
1754117526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuidex" >&5
1754217527
$as_echo "$pgac_cv__cpuidex" >&6; }
17543-
if test x"$pgac_cv__cpuidex" = x"yes"; then
17528+
if test x"$pgac_cv__cpuidex" = x"yes"; then
1754417529

1754517530
$as_echo "#define HAVE__CPUIDEX 1" >>confdefs.h
1754617531

17547-
fi
1754817532
fi
1754917533

1755017534
# Check for XSAVE intrinsics
@@ -18696,7 +18680,7 @@ Use --without-tcl to disable building PL/Tcl." "$LINENO" 5
1869618680
fi
1869718681
# now that we have TCL_INCLUDE_SPEC, we can check for <tcl.h>
1869818682
ac_save_CPPFLAGS=$CPPFLAGS
18699-
CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
18683+
CPPFLAGS="$TCL_INCLUDE_SPEC $CPPFLAGS"
1870018684
ac_fn_c_check_header_mongrel "$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
1870118685
if test "x$ac_cv_header_tcl_h" = xyes; then :
1870218686

@@ -18765,7 +18749,7 @@ fi
1876518749
# check for <Python.h>
1876618750
if test "$with_python" = yes; then
1876718751
ac_save_CPPFLAGS=$CPPFLAGS
18768-
CPPFLAGS="$CPPFLAGS $python_includespec"
18752+
CPPFLAGS="$python_includespec $CPPFLAGS"
1876918753
ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
1877018754
if test "x$ac_cv_header_Python_h" = xyes; then :
1877118755

@@ -19866,7 +19850,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1986619850
# report actual input values of CONFIG_FILES etc. instead of their
1986719851
# values after options handling.
1986819852
ac_log="
19869-
This file was extended by PostgreSQL $as_me 17.6, which was
19853+
This file was extended by PostgreSQL $as_me 17.5, which was
1987019854
generated by GNU Autoconf 2.69. Invocation command line was
1987119855

1987219856
CONFIG_FILES = $CONFIG_FILES
@@ -19937,7 +19921,7 @@ _ACEOF
1993719921
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1993819922
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1993919923
ac_cs_version="\\
19940-
PostgreSQL config.status 17.6
19924+
PostgreSQL config.status 17.5
1994119925
configured by $0, generated by GNU Autoconf 2.69,
1994219926
with options \\"\$ac_cs_config\\"
1994319927

0 commit comments

Comments
 (0)