Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
6e70634
doc: Fix title markup for AT TIME ZONE and AT LOCAL
danielgustafsson May 8, 2025
e4d7e08
Centralize ssl tests' check for whether we're using LibreSSL.
tglsfdc May 9, 2025
ae5472f
Skip RSA-PSS ssl test when using LibreSSL.
tglsfdc May 9, 2025
7ccfbd1
Fix incorrect "return NULL" in BumpAllocLarge().
tglsfdc May 11, 2025
5a1e0ac
Fix comment of tsquerysend()
May 11, 2025
07b62cb
Fix order of parameters in POD documentation
danielgustafsson May 13, 2025
8b17be1
Fix Assert failure in XMLTABLE parser
May 15, 2025
3d7c6df
Align organization wording in copyright statement
danielgustafsson May 16, 2025
33b9f55
Make our usage of memset_s() conform strictly to the C11 standard.
tglsfdc May 18, 2025
69d6da8
Don't retreat slot's confirmed_flush LSN.
May 19, 2025
f8abe7c
Fix deparsing FETCH FIRST <expr> ROWS WITH TIES
hlinnaka May 19, 2025
191d1a3
doc: Clarify use of _ccnew and _ccold in REINDEX CONCURRENTLY
michaelpq May 20, 2025
52ca437
Fix cross-version upgrade test failure
hlinnaka May 20, 2025
e29cff2
Fix incorrect WAL description for PREPARE TRANSACTION record.
MasaoFujii May 21, 2025
140652f
Fix memory leak in XMLSERIALIZE(... INDENT).
tglsfdc May 22, 2025
aa8f469
Fix AlignedAllocRealloc to cope sanely with OOM.
tglsfdc May 23, 2025
b44dde1
Fix per-relation memory leakage in autovacuum.
tglsfdc May 23, 2025
723ba5c
doc: Fix documenation for snapshot export in logical decoding.
MasaoFujii May 26, 2025
c17350f
Fix race condition in subscription TAP test 021_twophase
michaelpq May 26, 2025
d306833
Fix conversion of SIMILAR TO regexes for character classes
michaelpq May 27, 2025
94953ca
Adjust regex for test with opening parenthesis in character classes
michaelpq May 28, 2025
2f3a1e0
pg_stat_statements: Fix parameter number gaps in normalized queries
michaelpq May 29, 2025
a7ec7c0
Fix assertion failure in pg_prewarm() on objects without storage.
MasaoFujii May 29, 2025
fcd95bd
Avoid resource leaks when a dblink connection fails.
tglsfdc May 29, 2025
5f2bcef
Fix broken-FK-detection query in release notes
May 30, 2025
069e31e
Make XactLockTableWait() and ConditionalXactLockTableWait() interrupt…
MasaoFujii May 30, 2025
3032d9f
Allow larger packets during GSSAPI authentication exchange.
tglsfdc May 30, 2025
4b8b881
Fix memory leakage in postgres_fdw's DirectModify code path.
tglsfdc May 30, 2025
2beac45
Ensure we have a snapshot when updating various system catalogs.
nathan-bossart May 30, 2025
3f80a12
Fix MERGE into a plain inheritance parent table.
deanrasheed May 31, 2025
05866d0
Fix edge-case resource leaks in PL/Python error reporting.
tglsfdc Jun 1, 2025
618d6b0
Run pgindent on the previous commit.
tglsfdc Jun 1, 2025
7efe0a1
Use replay LSN as target for cascading logical WAL senders
michaelpq Jun 2, 2025
630bb3a
Disallow "=" in names of reloptions and foreign-data options.
tglsfdc Jun 2, 2025
31bb414
doc: Remove notes about "unencrypted" passwords.
nathan-bossart Jun 4, 2025
c3afa51
Doc: you must own the target object to use SECURITY LABEL.
tglsfdc Jun 5, 2025
1c71415
pg_prewarm: Allow autoprewarm to use more than 1GB to dump blocks.
robertmhaas Jun 6, 2025
0ced898
Fixed signed/unsigned mismatch in test_dsm_registry.
nathan-bossart Jun 6, 2025
b5c155d
pg_restore: fix incompatibility with old directory-format dumps.
tglsfdc Jun 8, 2025
54fc78b
Don't reduce output request size on non-Unix-socket connections.
tglsfdc Jun 10, 2025
364e275
Make _bt_killitems drop pins it acquired itself.
petergeoghegan Jun 11, 2025
b8b5e5a
Keep WAL segments by the flushed value of the slot's restart LSN
akorotkov Jun 14, 2025
5d5a491
Add TAP tests to check replication slot advance during the checkpoint
akorotkov Jun 14, 2025
ff33329
Fix re-distributing previously distributed invalidation messages duri…
MasahikoSawada Jun 17, 2025
0364c5d
Improve log messages and docs for slot synchronization.
Jun 19, 2025
81feeed
Correct docs about partitions and EXCLUDE constraints.
jeff-davis Jun 19, 2025
e6799fa
Improve runtime and output of tests for replication slots checkpointing.
akorotkov Jun 19, 2025
481a394
Use SnapshotDirty when checking for conflicting index names.
tglsfdc Jun 20, 2025
35d7e58
Doc: improve documentation about width_bucket().
tglsfdc Jun 21, 2025
2611155
meson: Fix meson warning
petere Jun 22, 2025
d4fb962
doc: Fix incorrect UUID index entry in function documentation.
MasaoFujii Jun 24, 2025
47009e9
doc: Remove dead link to NewbieDoc Docbook Guide
danielgustafsson Jun 24, 2025
2bafea8
Test that vacuum removes tuples older than OldestXmin
melanieplageman Jun 24, 2025
26d1a61
Prevent excessive delays before launching new logrep workers.
tglsfdc Jun 24, 2025
34d9053
Avoid scribbling of VACUUM options
michaelpq Jun 25, 2025
452320a
Doc: Improve documentation of stream abort.
Jun 25, 2025
4adb271
doc: Fix indentation of MERGE synopsis.
deanrasheed Jun 26, 2025
53e4de5
Remove unused check in heap_xlog_insert()
melanieplageman Jun 26, 2025
1d03fc4
Use correct DatumGet*() function in test_shm_mq_main().
nathan-bossart Jun 27, 2025
9f2c275
Obtain required table lock during cross-table constraint updates.
tglsfdc Jun 29, 2025
c1ac531
doc: Fix typo in pg_sync_replication_slots documentation
danielgustafsson Jun 30, 2025
d160805
Fix typos in comments
amitlan Jul 1, 2025
4504ffc
Make safeguard against incorrect flags for fsync more portable.
tglsfdc Jul 1, 2025
777b99a
Make sure IOV_MAX is defined.
tglsfdc Jul 1, 2025
14eb023
Fix outdated comment for IndexInfo
petere Jul 1, 2025
a72f76c
Document pg_get_multixact_members().
nathan-bossart Jul 1, 2025
2089bfc
Update comment for IndexInfo.ii_NullsNotDistinct
petere Jul 1, 2025
7605afe
Fix bug in archive streamer with LZ4 decompression
michaelpq Jul 2, 2025
e351320
Fix missing FSM vacuum opportunities on tables without indexes.
MasahikoSawada Jul 2, 2025
6af28db
Correctly copy the target host identification in PQcancelCreate.
tglsfdc Jul 2, 2025
f6aa260
doc: Remove incorrect note about wal_status in pg_replication_slots.
MasaoFujii Jul 3, 2025
5fd001f
doc: Update outdated descriptions of wal_status in pg_replication_slots.
MasaoFujii Jul 3, 2025
9241f34
Obtain required table lock during cross-table updates, redux.
tglsfdc Jul 3, 2025
b62f30f
Disable commit timestamps during bootstrap
michaelpq Jul 4, 2025
757ac63
pg_upgrade: check for inconsistencies in not-null constraints w/inher…
Jul 4, 2025
2c1d08c
pg_upgrade: Add missing newline in error message
Jul 4, 2025
0676f2f
Fix new pg_upgrade query not to rely on regnamespace
Jul 4, 2025
9361522
Fix incompatibility with libxml2 >= 2.14
michaelpq Jul 6, 2025
e43213e
Restore the ability to run pl/pgsql expression queries in parallel.
tglsfdc Jul 7, 2025
02864e8
Fix low-probability memory leak in XMLSERIALIZE(... INDENT).
tglsfdc Jul 8, 2025
30ea0af
Doc: Improve logical replication failover documentation.
Jul 9, 2025
65f6bd7
Fix tab-completion for COPY and \copy options.
MasahikoSawada Jul 9, 2025
e3b2c79
pg_dump: Fix object-type sort priority for large objects.
nathan-bossart Jul 10, 2025
64bfa7a
Fix the handling of two GUCs during upgrade.
Jul 11, 2025
c309af8
Fix inconsistent quoting of role names in ACLs.
tglsfdc Jul 11, 2025
bf26f33
Doc: clarify description of current-date/time functions.
tglsfdc Jul 15, 2025
5c1d57b
Silence uninitialized-value warnings in compareJsonbContainers().
tglsfdc Jul 15, 2025
dbbaada
Doc: clarify description of regexp fields in pg_ident.conf.
tglsfdc Jul 15, 2025
bae977c
doc: Fix confusing description of streaming option in START_REPLICATION.
MasaoFujii Jul 15, 2025
73be247
psql: Fix note on project naming in output of \copyright.
nathan-bossart Jul 16, 2025
042db31
Fix dumping of comments on invalid constraints on domains
Jul 16, 2025
d850331
doc: Add example file for COPY
danielgustafsson Jul 16, 2025
3d0409d
Fix inconsistent LWLock tranche names for MultiXact*
michaelpq Jul 17, 2025
b55aa5f
Remove duplicate line
amitlan Jul 17, 2025
e73751b
Remove assertion from PortalRunMulti
Jul 17, 2025
aa52dc4
Fix PQport to never return NULL unless the connection is NULL.
tglsfdc Jul 17, 2025
05a0ec6
Fix concurrent update trigger issues with MERGE in a CTE.
deanrasheed Jul 18, 2025
65a5095
Improve recovery test 046_checkpoint_logical_slot
akorotkov Jul 17, 2025
4d4d18c
Improve the stability of the recovery test 047_checkpoint_physical_slot
akorotkov Jul 19, 2025
049d325
Fix infinite wait when reading a partially written WAL record
akorotkov Jul 19, 2025
21cbae1
doc: Document reopen of output file via SIGHUP in pg_recvlogical.
MasaoFujii Jul 20, 2025
814a15e
pg_dump: include comments on not-null constraints on domains, too
Jul 21, 2025
6d9b958
ecpg: Fix NULL pointer dereference during connection lookup
michaelpq Jul 22, 2025
b457c45
doc: Inform about aminsertcleanup optional NULLness
michaelpq Jul 22, 2025
01d3191
Fix build breakage on Solaris-alikes with late-model GCC.
tglsfdc Jul 23, 2025
a15c91d
Fix duplicate transaction replay during pg_createsubscriber.
Jul 24, 2025
4fe2d98
Limit checkpointer requests queue size
akorotkov Jul 27, 2025
78af06a
Avoid regression in the size of XML input that we will accept.
tglsfdc Jul 28, 2025
0ddf123
Clarify documentation for the initcap function
akorotkov Jul 29, 2025
0927f88
Remove unnecessary complication around xmlParseBalancedChunkMemory.
tglsfdc Jul 29, 2025
0e68814
Don't put library-supplied -L/-I switches before user-supplied ones.
tglsfdc Jul 29, 2025
7cbe26c
Fix ./configure checks with __cpuidex() and __cpuid()
michaelpq Jul 30, 2025
8f3cbbb
pg_dump: provide a stable sort order for rules.
tglsfdc Nov 4, 2024
12f8812
Sort dump objects independent of OIDs, for the 7 holdout object types.
nmisch Jul 31, 2025
154ea02
Fix a deadlock during ALTER SUBSCRIPTION ... DROP PUBLICATION.
Aug 1, 2025
402def9
Allow resetting unknown custom GUCs with reserved prefixes.
nathan-bossart Aug 1, 2025
b3adb0d
Fix use-after-free with INSERT ON CONFLICT changes in reorderbuffer.c
michaelpq Aug 2, 2025
692835f
Doc: clarify the restrictions of AFTER triggers with transition tables.
Aug 2, 2025
29f220c
Fix assertion failure in pgbench when handling multiple pipeline sync…
MasaoFujii Aug 3, 2025
c3b44a7
doc: mention unusability of dropped CHECK to verify NOT NULL
Aug 4, 2025
0ef3eaa
Avoid unexpected shutdown when sync_replication_slots is enabled.
MasaoFujii Aug 4, 2025
fa142b9
Fix typo in create_index.sql.
deanrasheed Aug 4, 2025
c096dbe
Minor test fixes in 035_standby_logical_decoding.pl
melanieplageman Aug 4, 2025
786c5d4
Fix incorrect return value in brin_minmax_multi_distance_numeric().
tglsfdc Aug 5, 2025
3d81cdf
doc: Recommend ANALYZE after ALTER TABLE ... SET EXPRESSION AS.
MasaoFujii Aug 6, 2025
a1b720a
pg_upgrade: Improve message indentation
petere Aug 7, 2025
09e2eaf
Update ICU C++ API symbols
j-naylor Aug 7, 2025
87550fc
Revert "Clarify documentation for the initcap function"
akorotkov Aug 7, 2025
0a5f6f7
Message improvements
petere Aug 7, 2025
c59a00f
Fix checkpointer shared memory allocation
akorotkov Aug 7, 2025
962d307
doc: Formatting improvements
petere Aug 7, 2025
aa3a69a
doc: add float as an alias for double precision.
tglsfdc Aug 7, 2025
6a8e801
Add information about "generation" when dropping twice pgstats entry
michaelpq Aug 8, 2025
befc52b
Disallow collecting transition tuples from child foreign tables.
Aug 8, 2025
67b3024
pg_dump: Fix incorrect parsing of object types in pg_dump --filter.
MasaoFujii Aug 8, 2025
0857692
Fix oversight in FindTriggerIncompatibleWithInheritance.
Aug 8, 2025
568bfe8
Fix incorrect lack of Datum conversion in _int_matchsel()
petere Aug 8, 2025
23cbbd7
First-draft release notes for 17.6.
tglsfdc Aug 8, 2025
0a8d24d
Remove, from stable branches, the new assertion of no pg_dump OID sort.
nmisch Aug 10, 2025
9f11fb1
Release notes for 17.6, 16.10, 15.14, 14.19, 13.22.
tglsfdc Aug 10, 2025
49c3028
Fix security checks in selectivity estimation functions.
deanrasheed Aug 11, 2025
9c8c2b5
Translation updates
petere Aug 11, 2025
27f8eca
Convert newlines to spaces in names written in v11+ pg_dump comments.
nmisch Aug 11, 2025
e1f12f9
Restrict psql meta-commands in plain-text dumps.
nathan-bossart Aug 11, 2025
03aee84
Last-minute updates for release notes.
tglsfdc Aug 11, 2025
5a8ffdb
Stamp 17.6.
tglsfdc Aug 11, 2025
1df9f0e
Merge remote-tracking branch 'upstream/BABEL_5_X_DEV__PG_17_X' into j…
Sep 11, 2025
60ea93a
appending \unrestrict before backslash commands
Sep 11, 2025
43fdbdc
adding key for restrict mode in pg_dump
Sep 12, 2025
06ae44b
Revert "adding key for restrict mode in pg_dump"
Sep 12, 2025
8a6aaee
Revert "appending \unrestrict before backslash commands"
Sep 12, 2025
97f09c3
BABEL: Avoid adding \restrict in restore script for Babelfish
lohia-shalini Oct 1, 2025
bb2824a
Merge branch 'BABEL_5_X_DEV__PG_17_X' into jira-babel-5957
lohia-shalini Oct 1, 2025
584100e
BABEL: Avoid adding \unrestrict in restore script for Babelfish
lohia-shalini Oct 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .cirrus.tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -777,14 +777,11 @@ task:
# - Don't use ccache, the files are uncacheable, polluting ccache's
# cache
# - Use -fmax-errors, as particularly cpluspluscheck can be very verbose
# - XXX have to disable ICU to avoid errors:
# https://postgr.es/m/20220323002024.f2g6tivduzrktgfa%40alap3.anarazel.de
###
always:
headers_headerscheck_script: |
time ./configure \
${LINUX_CONFIGURE_FEATURES} \
--without-icu \
--quiet \
CC="gcc" CXX"=g++" CLANG="clang"
make -s -j${BUILD_JOBS} clean
Expand Down
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PostgreSQL Database Management System
(formerly known as Postgres, then as Postgres95)
(also known as Postgres, formerly known as Postgres95)

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

Expand Down
4 changes: 2 additions & 2 deletions config/llvm.m4
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# -----------------
#
# Look for the LLVM installation, check that it's new enough, set the
# corresponding LLVM_{CFLAGS,CXXFLAGS,BINPATH} and LDFLAGS
# corresponding LLVM_{CFLAGS,CXXFLAGS,BINPATH,LIBS}
# variables. Also verify that CLANG is available, to transform C
# into bitcode.
#
Expand Down Expand Up @@ -55,7 +55,7 @@ AC_DEFUN([PGAC_LLVM_SUPPORT],

for pgac_option in `$LLVM_CONFIG --ldflags`; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
esac
done

Expand Down
116 changes: 66 additions & 50 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for PostgreSQL 17.5.
# Generated by GNU Autoconf 2.69 for PostgreSQL 17.6.
#
# Report bugs to <[email protected]>.
#
Expand Down Expand Up @@ -582,8 +582,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='PostgreSQL'
PACKAGE_TARNAME='postgresql'
PACKAGE_VERSION='17.5'
PACKAGE_STRING='PostgreSQL 17.5'
PACKAGE_VERSION='17.6'
PACKAGE_STRING='PostgreSQL 17.6'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL='https://www.postgresql.org/'

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

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

Expand Down Expand Up @@ -1515,7 +1515,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of PostgreSQL 17.5:";;
short | recursive ) echo "Configuration of PostgreSQL 17.6:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1690,7 +1690,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
PostgreSQL configure 17.5
PostgreSQL configure 17.6
generated by GNU Autoconf 2.69

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

It was created by PostgreSQL $as_me 17.5, which was
It was created by PostgreSQL $as_me 17.6, which was
generated by GNU Autoconf 2.69. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -5213,7 +5213,7 @@ fi

for pgac_option in `$LLVM_CONFIG --ldflags`; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
esac
done

Expand Down Expand Up @@ -9020,12 +9020,12 @@ fi
# Note the user could also set XML2_CFLAGS/XML2_LIBS directly
for pgac_option in $XML2_CFLAGS; do
case $pgac_option in
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
esac
done
for pgac_option in $XML2_LIBS; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
esac
done
fi
Expand Down Expand Up @@ -9250,12 +9250,12 @@ fi
# note that -llz4 will be added by AC_CHECK_LIB below.
for pgac_option in $LZ4_CFLAGS; do
case $pgac_option in
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
esac
done
for pgac_option in $LZ4_LIBS; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
esac
done
fi
Expand Down Expand Up @@ -9391,12 +9391,12 @@ fi
# note that -lzstd will be added by AC_CHECK_LIB below.
for pgac_option in $ZSTD_CFLAGS; do
case $pgac_option in
-I*|-D*) CPPFLAGS="$CPPFLAGS $pgac_option";;
-I*|-D*) INCLUDES="$INCLUDES $pgac_option";;
esac
done
for pgac_option in $ZSTD_LIBS; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LIBDIRS="$LIBDIRS $pgac_option";;
esac
done
fi
Expand Down Expand Up @@ -15272,7 +15272,7 @@ fi
LIBS_including_readline="$LIBS"
LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`

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
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
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
Expand Down Expand Up @@ -15828,6 +15828,19 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_STRCHRNUL $ac_have_decl
_ACEOF

ac_fn_c_check_decl "$LINENO" "memset_s" "ac_cv_have_decl_memset_s" "#define __STDC_WANT_LIB_EXT1__ 1
#include <string.h>
"
if test "x$ac_cv_have_decl_memset_s" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi

cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_MEMSET_S $ac_have_decl
_ACEOF


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

if test "$with_icu" = yes; then
ac_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$ICU_CFLAGS $CPPFLAGS"
CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"

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


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

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

fi

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count" >&5
$as_echo_n "checking for __get_cpuid_count... " >&6; }
if ${pgac_cv__get_cpuid_count+:} false; then :
else
# __cpuid()
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
$as_echo_n "checking for __cpuid... " >&6; }
if ${pgac_cv__cpuid+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <cpuid.h>
#include <intrin.h>
int
main ()
{
unsigned int exx[4] = {0, 0, 0, 0};
__get_cpuid_count(7, 0, &exx[0], &exx[1], &exx[2], &exx[3]);
__cpuid(exx, 1);

;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
pgac_cv__get_cpuid_count="yes"
pgac_cv__cpuid="yes"
else
pgac_cv__get_cpuid_count="no"
pgac_cv__cpuid="no"
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count" >&5
$as_echo "$pgac_cv__get_cpuid_count" >&6; }
if test x"$pgac_cv__get_cpuid_count" = x"yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
$as_echo "$pgac_cv__cpuid" >&6; }
if test x"$pgac_cv__cpuid" = x"yes"; then

$as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h
$as_echo "#define HAVE__CPUID 1" >>confdefs.h

fi
fi

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuid" >&5
$as_echo_n "checking for __cpuid... " >&6; }
if ${pgac_cv__cpuid+:} false; then :
# Check for __get_cpuid_count() and __cpuidex() in a similar fashion.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __get_cpuid_count" >&5
$as_echo_n "checking for __get_cpuid_count... " >&6; }
if ${pgac_cv__get_cpuid_count+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <intrin.h>
#include <cpuid.h>
int
main ()
{
unsigned int exx[4] = {0, 0, 0, 0};
__get_cpuid(exx[0], 1);
__get_cpuid_count(7, 0, &exx[0], &exx[1], &exx[2], &exx[3]);

;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
pgac_cv__cpuid="yes"
pgac_cv__get_cpuid_count="yes"
else
pgac_cv__cpuid="no"
pgac_cv__get_cpuid_count="no"
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__cpuid" >&5
$as_echo "$pgac_cv__cpuid" >&6; }
if test x"$pgac_cv__cpuid" = x"yes"; then

$as_echo "#define HAVE__CPUID 1" >>confdefs.h
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pgac_cv__get_cpuid_count" >&5
$as_echo "$pgac_cv__get_cpuid_count" >&6; }
if test x"$pgac_cv__get_cpuid_count" = x"yes"; then

fi
$as_echo "#define HAVE__GET_CPUID_COUNT 1" >>confdefs.h

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
else
# __cpuidex()
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cpuidex" >&5
$as_echo_n "checking for __cpuidex... " >&6; }
if ${pgac_cv__cpuidex+:} false; then :
$as_echo_n "(cached) " >&6
Expand All @@ -17509,7 +17524,7 @@ int
main ()
{
unsigned int exx[4] = {0, 0, 0, 0};
__get_cpuidex(exx[0], 7, 0);
__cpuidex(exx, 7, 0);

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

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

fi
fi

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

Expand Down Expand Up @@ -18749,7 +18765,7 @@ fi
# check for <Python.h>
if test "$with_python" = yes; then
ac_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$python_includespec $CPPFLAGS"
CPPFLAGS="$CPPFLAGS $python_includespec"
ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
if test "x$ac_cv_header_Python_h" = xyes; then :

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

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

Expand Down
Loading