Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
9159939
doc: Fix title markup for AT TIME ZONE and AT LOCAL
danielgustafsson May 8, 2025
bb28d37
Centralize ssl tests' check for whether we're using LibreSSL.
tglsfdc May 9, 2025
a1924ca
Skip RSA-PSS ssl test when using LibreSSL.
tglsfdc May 9, 2025
adcefd6
Fix incorrect "return NULL" in BumpAllocLarge().
tglsfdc May 11, 2025
ea2b7f4
Fix comment of tsquerysend()
May 11, 2025
8de8420
Fix order of parameters in POD documentation
danielgustafsson May 13, 2025
5465a7f
Fix Assert failure in XMLTABLE parser
May 15, 2025
2d690e6
Align organization wording in copyright statement
danielgustafsson May 16, 2025
cd202c1
Make our usage of memset_s() conform strictly to the C11 standard.
tglsfdc May 18, 2025
9948e74
Don't retreat slot's confirmed_flush LSN.
May 19, 2025
5dc77ca
Fix deparsing FETCH FIRST <expr> ROWS WITH TIES
hlinnaka May 19, 2025
31af1d8
doc: Clarify use of _ccnew and _ccold in REINDEX CONCURRENTLY
michaelpq May 20, 2025
711cf66
Fix cross-version upgrade test failure
hlinnaka May 20, 2025
435442b
Fix incorrect WAL description for PREPARE TRANSACTION record.
MasaoFujii May 21, 2025
3eac9ef
Fix memory leak in XMLSERIALIZE(... INDENT).
tglsfdc May 22, 2025
f2827e5
Fix AlignedAllocRealloc to cope sanely with OOM.
tglsfdc May 23, 2025
84ee85b
Fix per-relation memory leakage in autovacuum.
tglsfdc May 23, 2025
88c3f98
doc: Fix documenation for snapshot export in logical decoding.
MasaoFujii May 26, 2025
398a9fb
Fix race condition in subscription TAP test 021_twophase
michaelpq May 26, 2025
5428415
Fix conversion of SIMILAR TO regexes for character classes
michaelpq May 27, 2025
7a2c14d
Adjust regex for test with opening parenthesis in character classes
michaelpq May 28, 2025
137e446
pg_stat_statements: Fix parameter number gaps in normalized queries
michaelpq May 29, 2025
b19f296
Fix assertion failure in pg_prewarm() on objects without storage.
MasaoFujii May 29, 2025
a8aac66
Avoid resource leaks when a dblink connection fails.
tglsfdc May 29, 2025
ba6308c
Fix broken-FK-detection query in release notes
May 30, 2025
c0edd2d
Make XactLockTableWait() and ConditionalXactLockTableWait() interrupt…
MasaoFujii May 30, 2025
332271a
Allow larger packets during GSSAPI authentication exchange.
tglsfdc May 30, 2025
10d9e75
Fix memory leakage in postgres_fdw's DirectModify code path.
tglsfdc May 30, 2025
a0da792
Ensure we have a snapshot when updating various system catalogs.
nathan-bossart May 30, 2025
1402fca
Fix MERGE into a plain inheritance parent table.
deanrasheed May 31, 2025
62f56e4
Fix edge-case resource leaks in PL/Python error reporting.
tglsfdc Jun 1, 2025
258a650
Run pgindent on the previous commit.
tglsfdc Jun 1, 2025
3a57c94
Use replay LSN as target for cascading logical WAL senders
michaelpq Jun 2, 2025
6c229b6
Disallow "=" in names of reloptions and foreign-data options.
tglsfdc Jun 2, 2025
a1b9268
doc: Remove notes about "unencrypted" passwords.
nathan-bossart Jun 4, 2025
d041ccf
Doc: you must own the target object to use SECURITY LABEL.
tglsfdc Jun 5, 2025
af2ea1a
pg_prewarm: Allow autoprewarm to use more than 1GB to dump blocks.
robertmhaas Jun 6, 2025
df3294f
Fixed signed/unsigned mismatch in test_dsm_registry.
nathan-bossart Jun 6, 2025
351db19
pg_restore: fix incompatibility with old directory-format dumps.
tglsfdc Jun 8, 2025
2325393
Don't reduce output request size on non-Unix-socket connections.
tglsfdc Jun 10, 2025
afbcb0f
Make _bt_killitems drop pins it acquired itself.
petergeoghegan Jun 11, 2025
68a325d
Keep WAL segments by the flushed value of the slot's restart LSN
akorotkov Jun 14, 2025
a65dc9a
Add TAP tests to check replication slot advance during the checkpoint
akorotkov Jun 14, 2025
c839d83
Fix re-distributing previously distributed invalidation messages duri…
MasahikoSawada Jun 17, 2025
6823c98
Improve log messages and docs for slot synchronization.
Jun 19, 2025
812702f
Correct docs about partitions and EXCLUDE constraints.
jeff-davis Jun 19, 2025
3e1dae1
Improve runtime and output of tests for replication slots checkpointing.
akorotkov Jun 19, 2025
7540a3c
Use SnapshotDirty when checking for conflicting index names.
tglsfdc Jun 20, 2025
8005baa
Doc: improve documentation about width_bucket().
tglsfdc Jun 21, 2025
ec12fdd
meson: Fix meson warning
petere Jun 22, 2025
6baa726
doc: Fix incorrect UUID index entry in function documentation.
MasaoFujii Jun 24, 2025
6142775
doc: Remove dead link to NewbieDoc Docbook Guide
danielgustafsson Jun 24, 2025
d7761fd
Test that vacuum removes tuples older than OldestXmin
melanieplageman Jun 24, 2025
c985a5e
Prevent excessive delays before launching new logrep workers.
tglsfdc Jun 24, 2025
9adbeea
Avoid scribbling of VACUUM options
michaelpq Jun 25, 2025
09f5371
Doc: Improve documentation of stream abort.
Jun 25, 2025
5c2b3ab
doc: Fix indentation of MERGE synopsis.
deanrasheed Jun 26, 2025
de3c54d
Remove unused check in heap_xlog_insert()
melanieplageman Jun 26, 2025
ffbebc9
Use correct DatumGet*() function in test_shm_mq_main().
nathan-bossart Jun 27, 2025
02c13cc
Obtain required table lock during cross-table constraint updates.
tglsfdc Jun 29, 2025
3967a8a
doc: Fix typo in pg_sync_replication_slots documentation
danielgustafsson Jun 30, 2025
abc64a5
Fix typos in comments
amitlan Jul 1, 2025
d6629c9
Make safeguard against incorrect flags for fsync more portable.
tglsfdc Jul 1, 2025
ed2a875
Make sure IOV_MAX is defined.
tglsfdc Jul 1, 2025
f761ad4
Fix outdated comment for IndexInfo
petere Jul 1, 2025
5e5d03d
Document pg_get_multixact_members().
nathan-bossart Jul 1, 2025
7c9d230
Update comment for IndexInfo.ii_NullsNotDistinct
petere Jul 1, 2025
71c61ea
Fix bug in archive streamer with LZ4 decompression
michaelpq Jul 2, 2025
ce1bb13
Fix missing FSM vacuum opportunities on tables without indexes.
MasahikoSawada Jul 2, 2025
a7e214f
Correctly copy the target host identification in PQcancelCreate.
tglsfdc Jul 2, 2025
3d1f4d6
doc: Remove incorrect note about wal_status in pg_replication_slots.
MasaoFujii Jul 3, 2025
e199289
doc: Update outdated descriptions of wal_status in pg_replication_slots.
MasaoFujii Jul 3, 2025
fe6436a
Obtain required table lock during cross-table updates, redux.
tglsfdc Jul 3, 2025
0da8244
Disable commit timestamps during bootstrap
michaelpq Jul 4, 2025
f5876ad
pg_upgrade: check for inconsistencies in not-null constraints w/inher…
Jul 4, 2025
33c457f
pg_upgrade: Add missing newline in error message
Jul 4, 2025
c758299
Fix new pg_upgrade query not to rely on regnamespace
Jul 4, 2025
d855190
Fix incompatibility with libxml2 >= 2.14
michaelpq Jul 6, 2025
caac88d
Restore the ability to run pl/pgsql expression queries in parallel.
tglsfdc Jul 7, 2025
5ed02a8
Fix low-probability memory leak in XMLSERIALIZE(... INDENT).
tglsfdc Jul 8, 2025
8af6a4b
Doc: Improve logical replication failover documentation.
Jul 9, 2025
78274f6
Fix tab-completion for COPY and \copy options.
MasahikoSawada Jul 9, 2025
643760a
pg_dump: Fix object-type sort priority for large objects.
nathan-bossart Jul 10, 2025
0a071b4
Fix the handling of two GUCs during upgrade.
Jul 11, 2025
baf7d8f
Fix inconsistent quoting of role names in ACLs.
tglsfdc Jul 11, 2025
27db585
Doc: clarify description of current-date/time functions.
tglsfdc Jul 15, 2025
15f320b
Silence uninitialized-value warnings in compareJsonbContainers().
tglsfdc Jul 15, 2025
c9456b0
Doc: clarify description of regexp fields in pg_ident.conf.
tglsfdc Jul 15, 2025
7e03b9f
doc: Fix confusing description of streaming option in START_REPLICATION.
MasaoFujii Jul 15, 2025
5fb19cb
psql: Fix note on project naming in output of \copyright.
nathan-bossart Jul 16, 2025
c8015bc
Fix dumping of comments on invalid constraints on domains
Jul 16, 2025
40fa344
doc: Add example file for COPY
danielgustafsson Jul 16, 2025
9f70e8a
Fix inconsistent LWLock tranche names for MultiXact*
michaelpq Jul 17, 2025
14ace39
Remove duplicate line
amitlan Jul 17, 2025
487c04b
Remove assertion from PortalRunMulti
Jul 17, 2025
725f2fa
Fix PQport to never return NULL unless the connection is NULL.
tglsfdc Jul 17, 2025
41e1a7b
Fix concurrent update trigger issues with MERGE in a CTE.
deanrasheed Jul 18, 2025
ff5f16e
Improve recovery test 046_checkpoint_logical_slot
akorotkov Jul 17, 2025
310214f
Improve the stability of the recovery test 047_checkpoint_physical_slot
akorotkov Jul 19, 2025
566aa2d
Fix infinite wait when reading a partially written WAL record
akorotkov Jul 19, 2025
5358fca
doc: Document reopen of output file via SIGHUP in pg_recvlogical.
MasaoFujii Jul 20, 2025
80146d9
pg_dump: include comments on not-null constraints on domains, too
Jul 21, 2025
28e5254
ecpg: Fix NULL pointer dereference during connection lookup
michaelpq Jul 22, 2025
b984588
doc: Inform about aminsertcleanup optional NULLness
michaelpq Jul 22, 2025
3922b2d
Fix build breakage on Solaris-alikes with late-model GCC.
tglsfdc Jul 23, 2025
67a5f3b
Fix duplicate transaction replay during pg_createsubscriber.
Jul 24, 2025
8885959
Limit checkpointer requests queue size
akorotkov Jul 27, 2025
c846d1e
Avoid regression in the size of XML input that we will accept.
tglsfdc Jul 28, 2025
fee4cc9
Clarify documentation for the initcap function
akorotkov Jul 29, 2025
b1b1b66
Remove unnecessary complication around xmlParseBalancedChunkMemory.
tglsfdc Jul 29, 2025
4d79ddf
Don't put library-supplied -L/-I switches before user-supplied ones.
tglsfdc Jul 29, 2025
0d70ba3
Fix ./configure checks with __cpuidex() and __cpuid()
michaelpq Jul 30, 2025
93b69a4
pg_dump: provide a stable sort order for rules.
tglsfdc Nov 4, 2024
2dc1421
Sort dump objects independent of OIDs, for the 7 holdout object types.
nmisch Jul 31, 2025
fc733f3
Fix a deadlock during ALTER SUBSCRIPTION ... DROP PUBLICATION.
Aug 1, 2025
a007f07
Allow resetting unknown custom GUCs with reserved prefixes.
nathan-bossart Aug 1, 2025
fbba021
Fix use-after-free with INSERT ON CONFLICT changes in reorderbuffer.c
michaelpq Aug 2, 2025
350b0c6
Doc: clarify the restrictions of AFTER triggers with transition tables.
Aug 2, 2025
0d93673
Fix assertion failure in pgbench when handling multiple pipeline sync…
MasaoFujii Aug 3, 2025
2682660
doc: mention unusability of dropped CHECK to verify NOT NULL
Aug 4, 2025
3f8e01f
Avoid unexpected shutdown when sync_replication_slots is enabled.
MasaoFujii Aug 4, 2025
2af0751
Fix typo in create_index.sql.
deanrasheed Aug 4, 2025
a384622
Minor test fixes in 035_standby_logical_decoding.pl
melanieplageman Aug 4, 2025
080ff1f
Fix incorrect return value in brin_minmax_multi_distance_numeric().
tglsfdc Aug 5, 2025
661c207
doc: Recommend ANALYZE after ALTER TABLE ... SET EXPRESSION AS.
MasaoFujii Aug 6, 2025
79e35bb
pg_upgrade: Improve message indentation
petere Aug 7, 2025
38ba6e2
Update ICU C++ API symbols
j-naylor Aug 7, 2025
3dbff77
Revert "Clarify documentation for the initcap function"
akorotkov Aug 7, 2025
f0eacea
Message improvements
petere Aug 7, 2025
ad61f3a
Fix checkpointer shared memory allocation
akorotkov Aug 7, 2025
57b9d3a
doc: Formatting improvements
petere Aug 7, 2025
8e90812
doc: add float as an alias for double precision.
tglsfdc Aug 7, 2025
be60167
Add information about "generation" when dropping twice pgstats entry
michaelpq Aug 8, 2025
436016f
Disallow collecting transition tuples from child foreign tables.
Aug 8, 2025
83f4ac5
pg_dump: Fix incorrect parsing of object types in pg_dump --filter.
MasaoFujii Aug 8, 2025
220f1c0
Fix oversight in FindTriggerIncompatibleWithInheritance.
Aug 8, 2025
502f655
Fix incorrect lack of Datum conversion in _int_matchsel()
petere Aug 8, 2025
decea1a
First-draft release notes for 17.6.
tglsfdc Aug 8, 2025
66df3c3
Remove, from stable branches, the new assertion of no pg_dump OID sort.
nmisch Aug 10, 2025
e819d61
Release notes for 17.6, 16.10, 15.14, 14.19, 13.22.
tglsfdc Aug 10, 2025
520fa36
Fix security checks in selectivity estimation functions.
deanrasheed Aug 11, 2025
b0c0089
Translation updates
petere Aug 11, 2025
86b3e2b
Convert newlines to spaces in names written in v11+ pg_dump comments.
nmisch Aug 11, 2025
6042e42
Restrict psql meta-commands in plain-text dumps.
nathan-bossart Aug 11, 2025
20ff7f9
Last-minute updates for release notes.
tglsfdc Aug 11, 2025
69524ca
Stamp 17.6.
tglsfdc Aug 11, 2025
c4ec594
Updated expected Percona Server version to 17.6.1
artemgavrilov Sep 2, 2025
19101d3
Update tests after sync with upstream version 17.6
artemgavrilov Sep 2, 2025
39601ca
Fix percona server version
artemgavrilov Sep 8, 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 @@
Percona Server for PostgreSQL - License
(formerly known as Postgres, then as Postgres95)
(also known as Postgres, formerly known as Postgres95)

This software includes portions copyrighted or made available by:
• Percona, LLC and/or its affiliates (collectively, "Percona")
Expand Down
2 changes: 1 addition & 1 deletion ci_scripts/env.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

export PERCONA_SERVER_VERSION=17.5.3
export PERCONA_SERVER_VERSION=17.6.1
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 --link-static --ldflags`; do
case $pgac_option in
-L*) LDFLAGS="$LDFLAGS $pgac_option";;
-L*) LLVM_LIBS="$LLVM_LIBS $pgac_option";;
esac
done

Expand Down
118 changes: 67 additions & 51 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 @@ -1453,7 +1453,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 @@ -1518,7 +1518,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 @@ -1695,7 +1695,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 @@ -2448,7 +2448,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 @@ -2856,7 +2856,7 @@ cat >>confdefs.h <<_ACEOF
_ACEOF


PG_PERCONAVERSION=3
PG_PERCONAVERSION=1

cat >>confdefs.h <<_ACEOF
#define PG_PERCONAVERSION "$PG_PERCONAVERSION"
Expand Down Expand Up @@ -5225,7 +5225,7 @@ fi

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

Expand Down Expand Up @@ -9067,12 +9067,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 @@ -9297,12 +9297,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 @@ -9438,12 +9438,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 @@ -15419,7 +15419,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 @@ -15975,6 +15975,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 @@ -16390,7 +16403,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 @@ -17541,7 +17554,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 @@ -17574,77 +17587,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 @@ -17656,7 +17671,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 @@ -17672,10 +17687,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 @@ -18827,7 +18843,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 @@ -18896,7 +18912,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 @@ -19997,7 +20013,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 @@ -20068,7 +20084,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